如果没有添加到weblogic.xml
<fast-swap>
<enabled>true</enabled>
</fast-swap>
以下是使用<fast-swap>
Using FastSwap Deployment to Minimize Redeployment
这是整个错误
[[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.springframework.web.servlet.DispatcherServlet - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fleetSeriesHelpRepo': Invocation of init method failed; nested exception is org.springframework.data.mapping.PropertyReferenceException: No property beaInvoke found for type FleetSeriesHelp!
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:742)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)
答案 0 :(得分:0)
显然,WebLogic的快速交换对反射的支持有限 - Spring在任何地方都使用它。
https://zeroturnaround.com/forums/topic/javarebel-vs-fastswap/