我有一个正在使用weblogic 10.3.6的JEE应用程序,框架是spring web-flow 2.1.0.RELEASE,JPA1.0和JSF1.2
现在我想将其迁移到weblogic 12c。 我根据下面的oracle文档做了以下更改。 https://docs.oracle.com/cd/E24329_01/web.1211/e24972/using_toplink.htm#EJBAD1418 http://docs.oracle.com/cd/E24329_01/web.1211/e21049/configurejsfandjtsl.htm#WBAPP197
<library-ref>
<library-name>jsf</library-name>
<specification-version>1.2</specification-version>
<implementation-version>1.2</implementation-version>
<exact-match>false</exact-match>
</library-ref>
<wls:prefer-application-packages>
<wls:package-name>org.springframework.*</wls:package-name>
<wls:package-name>org.slf4j.*</wls:package-name>
<wls:package-name>ch.qos.logback.*</wls:package-name>
<wls:package-name>javax.faces.*</wls:package-name>
<wls:package-name>com.sun.faces.*</wls:package-name>
<wls:package-name>com.bea.faces.*</wls:package-name>
<wls:package-name>com.sun.facelets.*</wls:package-name>
<wls:prefer-application-packages>
User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.springframework.faces.webflow.FlowApplicationFactory.init().
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.springframework.faces.webflow.FlowApplicationFactory.init()
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:705)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoSuchMethodException: org.springframework.faces.webflow.FlowApplicationFactory.<init>()
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.newInstance(Class.java:412)
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:537)
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:405)
at javax.faces.FactoryFinder.access$400(FactoryFinder.java:135)
Truncated. see log file for complete stacktrace