我已成功将使用Eclipse导出的war文件部署到TomEE服务器的本地实例,但在尝试与另一台服务器上的war文件完全相同时,我得到以下输出控制台:
Jul 30, 2014 12:50:47 PM org.apache.openejb.util.JarExtractor extract
INFO: Extracting jar: C:\Apache TomEE\apache-tomee-plus-1.6.0.2\webapps\MyWar.war
Jul 30, 2014 12:50:47 PM org.apache.openejb.util.JarExtractor extract
INFO: Extracted path: C:\Apache TomEE\apache-tomee-plus-1.6.0.2\webapps\MyWar
Jul 30, 2014 12:50:48 PM org.apache.myfaces.ee6.MyFacesContainerInitializer onSt
artup
INFO: Added FacesServlet with mappings=[/faces/*, *.jsf, *.faces]
Jul 30, 2014 12:50:48 PM org.apache.tomee.myfaces.TomEEMyFacesContainerInitializ
er addListener
INFO: Installing <listener>org.apache.myfaces.webapp.StartupServletContextListen
er</listener>
Jul 30, 2014 12:50:48 PM org.apache.myfaces.config.DefaultFacesConfigurationProv
ider getStandardFacesConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
Jul 30, 2014 12:50:48 PM org.apache.myfaces.config.DefaultFacesConfigurationProv
ider getClassloaderFacesConfig
INFO: Reading config : jar:file:/C:/Apache%20TomEE/apache-tomee-plus-1.6.0.2/lib
/openwebbeans-el22-1.2.1.jar!/META-INF/faces-config.xml
Jul 30, 2014 12:50:48 PM org.apache.myfaces.config.DefaultFacesConfigurationProv
ider getClassloaderFacesConfig
INFO: Reading config : jar:file:/C:/Apache%20TomEE/apache-tomee-plus-1.6.0.2/lib
/openwebbeans-jsf-1.2.1.jar!/META-INF/faces-config.xml
Jul 30, 2014 12:50:48 PM org.apache.myfaces.config.LogMetaInfUtils logArtifact
INFO: Artifact 'myfaces-api' was found in version '2.1.13' from path 'file:/C:/A
pache%20TomEE/apache-tomee-plus-1.6.0.2/lib/myfaces-api-2.1.13.jar'
Jul 30, 2014 12:50:48 PM org.apache.myfaces.config.LogMetaInfUtils logArtifact
INFO: Artifact 'myfaces-impl' was found in version '2.1.13' from path 'file:/C:/
Apache%20TomEE/apache-tomee-plus-1.6.0.2/lib/myfaces-impl-2.1.13.jar'
Jul 30, 2014 12:50:48 PM org.apache.myfaces.application.ApplicationImpl getProje
ctStage
INFO: Couldn't discover the current project stage, using Production
Jul 30, 2014 12:50:48 PM org.apache.myfaces.config.FacesConfigurator handleSeria
lFactory
INFO: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.
DefaultSerialFactory
Jul 30, 2014 12:50:48 PM org.apache.myfaces.config.annotation.DefaultLifecyclePr
oviderFactory getLifecycleProvider
INFO: Using LifecycleProvider org.apache.myfaces.config.annotation.Tomcat7Annota
tionLifecycleProvider
Jul 30, 2014 12:50:48 PM org.apache.myfaces.webapp.AbstractFacesInitializer init
Faces
INFO: ServletContext initialized.
... WAR中包含的EJB未初始化,也没有任何反应。
服务器重新启动后,我获得了我的WAR中包含的所有类的ClassNotFoundException
(现在在WEB-INF / classes中爆炸后)
有人可以帮忙吗?
答案 0 :(得分:-1)
猜猜它来自这个空间,试试另一个带空格的文件夹。