この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
I am doing the tutorial link . So after cloning and checking all other stuffs I run
mvn clean install -PautoInstallPackagePublish
but I get
[ERROR] Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:1.0.2:install (default-cli) on project aem-guides-wknd.ui.apps: Connection refused (Connection refused) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:1.0.2:install (default-cli) on project aem-guides-wknd.ui.apps: Connection refused (Connection refused) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Connection refused (Connection refused)
Maven and Java versions:
EDIT: pom.xml
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
Hi @martinlloyd
If you look at line number 40 in parent pom.xml file
<aem.publish.host>localhost</aem.publish.host>
<aem.publish.port>4503</aem.publish.port>
<sling.user>admin</sling.user>
<sling.password>admin</sling.password>
There are connection details to your publish server. Make sure to change them accordingly and also ensure your publish server is up and running.
Thanks!
Did you enter the correct server details in the main pom.xml of your project. if not, please enter the correct server details , username and password
表示
返信
いいね!の合計
表示
返信
いいね!の合計
Did you enter the correct server details in the main pom.xml of your project. if not, please enter the correct server details , username and password
表示
返信
いいね!の合計
Hi @martinlloyd
If you look at line number 40 in parent pom.xml file
<aem.publish.host>localhost</aem.publish.host>
<aem.publish.port>4503</aem.publish.port>
<sling.user>admin</sling.user>
<sling.password>admin</sling.password>
There are connection details to your publish server. Make sure to change them accordingly and also ensure your publish server is up and running.
Thanks!
Hi @martinlloyd
If you want to deploy your code to author instance running on the port 4502 then use
mvn clean install -PautoInstallPackage
If you want to deploy your code to publish instance running on the port 4503 then use
mvn clean install -PautoInstallPackagePublish
If you want to deploy your code to any other instance of AEM running of any port <port> the use
mvn clean install -PautoInstallPackage -Daem.port=<port>
Regards,
Arpit
Are you trying to install to publish ? Is your server running on 4503 ?
表示
返信
いいね!の合計