Views
Replies
Total Likes
can you check your port number in pom and what is the port that your instance is running on, they should be similar
i can see that in your pom it's 4502 which means your instance must be running on something else check that it should be http://localhost:4502/ or check 4502 value in parent pom to the value on which your instance is running
There is a unit test failure. Have you tried running the unit test individually?
no i haven't tried any unit test
Then try to successfully run the unit tests. Hopefully, it will solve the issue then
as @Sady_Rifat mentioned try to run the unit test individually or you can skip the test cases as well using below command
mvn clean install -PautoInstallPackage -DskipTests
The command you have given worked really good later on i got up with this error
Could you please help out here?
can you check your port number in pom and what is the port that your instance is running on, they should be similar
i can see that in your pom it's 4502 which means your instance must be running on something else check that it should be http://localhost:4502/ or check 4502 value in parent pom to the value on which your instance is running
Hey can you check you instance is up and running as its now breaking while trying to install the package
Hi,
The error indicates that some unit tests are failing. This is the default behavior: the build fails if any test fails. Unless you fix the tests, you will continue to encounter this error. If this is a development (local) environment, you can temporarily skip or disable the tests(https://blog.marcnuri.com/junit5-how-to-disable-tests), as previously suggested, to continue working. However, this is not a definitive solution. Also, make sure the AEM instance is running while using the deploy command; otherwise, you will receive the "connection refused" error.
Hope this helps!
Your core pom is missing some dependencies needed to execute the test. Can you include this in your pom and try? The version will picked from the parent pom.
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.core</artifactId>
<scope>test</scope>
</dependency>