我想按照这个教程创建一个Maven项目https://docs.mulesoft.com/mule-user-guide/v/3.7/building-a-mule-application-with-maven-in-studio那个时候当Studio自动构建Maven项目时,我收到此错误:updating maven project has encountered a problem There was an error running the studio:studio goal on project test
并在控制台中:
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.mycompany:test:1.0.0-SNAPSHOT (C:\Users\Rajeun\AnypointStudio\workspace\test\pom.xml) has 2 errors
[ERROR] Unresolveable build extension: Plugin org.mule.tools.maven:mule-app-maven-plugin:1.1 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.5.0 at specified path C:\Program Files (x86)\Java\jre1.8.0_40/../lib/tools.jar -> [Help 2]
[ERROR] Unknown packaging: mule @ line 8, column 16 …
Run Code Online (Sandbox Code Playgroud) 我已经创建了一个mule应用程序,并且当我用mule 3.5.6 CE运行它时它在任何点工作室运行良好但是当我尝试在mule-standalone-3.6.1中部署它时我得到这个:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ New app 'pushv1' +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO 2015-03-30 10:56:03,009 [WrapperListener_start_runner] org.mule.module.lau
ncher.application.DefaultMuleApplication: App 'pushv1' never started, nothing to
dispose of
ERROR 2015-03-30 10:56:03,010 [WrapperListener_start_runner] org.mule.module.lau
ncher.DefaultArchiveDeployer:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Failed to deploy artifact 'pushv1', see below +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
org.mule.module.launcher.InstallException: Config for app 'pushv1' not found: C:
\mule-standalone-3.6.1\apps\pushv1\mule-config.xml
at org.mule.module.launcher.application.DefaultMuleApplication.install(D
efaultMuleApplication.java:100) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.artifact.ArtifactWrapper$3.execute(ArtifactW
rapper.java:74) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifa
ctClassLoader(ArtifactWrapper.java:129) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.artifact.ArtifactWrapper.install(ArtifactWra
pper.java:69) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifa
ctDeployer.java:24) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.DefaultArchiveDeployer.guardedDeploy(Default
ArchiveDeployer.java:310) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.DefaultArchiveDeployer.deployArtifact(Defaul
tArchiveDeployer.java:330) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.DefaultArchiveDeployer.deployExplodedApp(Def …
Run Code Online (Sandbox Code Playgroud)