我在tomcat上發佈web項目時遇到了問題。我有這個錯誤:從Eclipse發佈到Tomcat上
!ENTRY org.eclipse.wst.server.core 4 0 2013-07-17 14:22:41.293 !MESSAGE無法發佈到服務器。 !STACK 0 顯示java.lang.NullPointerException 在org.eclipse.wst.common.componentcore.internal.util.VirtualReferenceUtilities.getDefaultProjectArchiveName(VirtualReferenceUtilities.java:81) 在org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent。 getJavaClasspathReferences(J2EEModuleVirtualComponent.java:338) 在org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getNonManifestRefs(J2EEModuleVirtualComponent.java:242) 在org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getReferences(J2EEModuleVirtualComponent.java: 166)
,但如果我從工作區中的Web項目關閉Maven的解決依賴一切工作正常。
任何想法
感謝
Zlaja
我有M2E-WTP火星4.5.1(春季STS)。我刪除了m2e。我仍然得到這個錯誤。 – djb