Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Maven build failure: Socket write error

Avatar

Avatar
Validate 1
Level 3
tahir1601
Level 3

Likes

21 likes

Total Posts

41 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile

Avatar
Validate 1
Level 3
tahir1601
Level 3

Likes

21 likes

Total Posts

41 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile
tahir1601
Level 3

05-07-2019

Hi All,

I am getting below error when trying to deploy.(mvn clean install -PautoInstallBundle)

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time:  17.688 s

[INFO] Finished at: 2019-07-06T11:03:18+05:30

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.sling:maven-sling-plugin:2.2.0:install (install-bundle) on project jacobdelafon.core: Installation on http://localhost:4502/system/console/apps/kohler/jacobdelafon/install/ failed, cause: Software caused connection abort: socket write error -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.sling:maven-sling-plugin:2.2.0:install (install-bundle) on project jacobdelafon.core: Installation on http://localhost:4502/system/console/apps/kohler/jacobdelafon/install/ failed, cause: Software caused connection abort: socket write error

Can Someone tell what could the issue be??

smacdonald2008Arun PatidarJoerg Hoh​@

View Entire Topic

Avatar

Avatar
Give Back 5
Level 3
anujg3325839
Level 3

Likes

27 likes

Total Posts

26 posts

Correct Reply

8 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Boost 5
Boost 3
View profile

Avatar
Give Back 5
Level 3
anujg3325839
Level 3

Likes

27 likes

Total Posts

26 posts

Correct Reply

8 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Boost 5
Boost 3
View profile
anujg3325839
Level 3

06-07-2019

The path is seems incorrect,  you need check the pom.xml file for the server settings. you can find the details [1]

if you are trying to deploy directly provided .jar file , in system console. you need to treat it as simple package and put in maven project and follow standard installation approach.

[1] How to Build AEM Projects using Apache Maven