我正试着在日食中运行我的恐龙计划...是一个don服务soap,但它不会运行此错误
GRAVE: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase com.bankVision.webBanking.webServices.WebAppContextListener
java.lang.NoClassDefFoundError: com/bankVision/webBanking/util/NamingService
at com.bankVision.webBanking.webServices.WebAppContextListener.contextInitialized(WebAppContextListener.java:32)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.bankVision.webBanking.util.NamingService
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
... 10 more我在proyect中导入了其他项目供使用,并且类中有导入,太编译正确了
发布于 2015-12-18 05:30:06
java.lang.ClassNotFoundException: com.bankVision.webBanking.util.NamingService意味着tomcat不同意您的观点;请记住,在Eclipse中导入类是不够的,它们需要在将要构建的WAR中导出……
https://stackoverflow.com/questions/34315736
复制相似问题