Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/385.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 运行web服务eclipse-ApacheTomcat 8_Java_Eclipse_Apache_Web Services_Tomcat - Fatal编程技术网

Java 运行web服务eclipse-ApacheTomcat 8

Java 运行web服务eclipse-ApacheTomcat 8,java,eclipse,apache,web-services,tomcat,Java,Eclipse,Apache,Web Services,Tomcat,我正试着在eclipse中运行我的dinamic项目。。。是一个Web服务soap,但它不运行aun trow此错误 GRAVE: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase com.bankVision.webBanking.webServices.WebAppContextListener java.lang.NoClassDefFoundError: c

我正试着在eclipse中运行我的dinamic项目。。。是一个Web服务soap,但它不运行aun trow此错误

 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中导入了其他项目以供使用,而类也正确地导入了这些项目

java.lang.ClassNotFoundException:com.bankVision.webBanking.util.NamingService
表示tomcat不同意您的观点;请记住,在Eclipse中导入类是不够的,它们需要在将要构建的战争中导出…

我做到了。。。我也尝试像导出一个.jar一样导出项目,但它不起作用