org.eclipse.core.commands.ExecutionException: Error exportingC:/Users/Jasmine/Documents/neo-billing-plugins-qao-sdp-facade.war
at org.eclipse.jst.j2ee.internal.archive.operations.ComponentExportOperation.execute(ComponentExportOperation.java:150)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:385)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:410)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:360)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.doExecute(DataModelPausibleOperationImpl.java:247)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.executeImpl(DataModelPausibleOperationImpl.java:219)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.cacheThreadAndContinue(DataModelPausibleOperationImpl.java:89)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.execute(DataModelPausibleOperationImpl.java:207)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard$1CatchThrowableRunnableWithProgress.run(DataModelWizard.java:220)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.eclipse.jst.jee.archive.ArchiveSaveFailureException: org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver$UnderlyingFileNotFoundException: Cannot find the file C:\Users\Jasmine\.m2\repository\com\mindergy\mg\2.5.3\mg-2.5.3.jar in the file system. Make sure the file exists and try the operation again
at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveArchive(FlatComponentArchiver.java:126)
at org.eclipse.jst.j2ee.internal.archive.operations.ComponentExportOperation.export(ComponentExportOperation.java:193)
at org.eclipse.jst.j2ee.internal.archive.operations.ComponentExportOperation.execute(ComponentExportOperation.java:136)
... 10 more
Caused by: org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver$UnderlyingFileNotFoundException: Cannot find the file C:\Users\Jasmine\.m2\repository\com\mindergy\mg\2.5.3\mg-2.5.3.jar in the file system. Make sure the file exists and try the operation again
at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.addZipEntry(FlatComponentArchiver.java:258)
at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveFlatResources(FlatComponentArchiver.java:158)
at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveFlatResources(FlatComponentArchiver.java:165)
at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveFlatResources(FlatComponentArchiver.java:165)
at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveArchive(FlatComponentArchiver.java:115)
... 12 more
答案 0 :(得分:2)
错误很明显:
在文件系统中找不到文件C:\ Users \ Jasmine.m2 \ repository \ com \ mindergy \ mg \ 2.5.3 \ mg-2.5.3.jar
但是如果您已经使用Maven,我建议使用Maven创建WAR文件。它将下载并打包所有必需的依赖项。只需执行mvn package
,您就可以在项目的输出文件夹中找到WAR文件(默认为(project folder)/target
)。
答案 1 :(得分:1)
转到properties>>library
,然后看到mg-2.5.3.jar
已损坏。所以你必须建立正确的jar路径然后尝试它将起作用。