Closed kalimuthup closed 6 years ago
Fixed !!!!.Its issue with the pom.xml.I added few missing dependent jars in pom file and its working as expected.Please check the dependency list below and if it required add to the code base so that others wont have the issue.
`
<artifactId>org.apache.sling.models.impl</artifactId>
<version>1.4.6</version>
After downloading the existing code and followed the confluence to run the code .I ran into the issue listed below , tried to sort the issues but not able to get any solution.Please help.
`Running com.icfolson.aem.prosper.annotations.ModelSpecAnnotationSpec Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.497 sec <<< FAILURE! - in com.icfolson.aem.prosper.annotations.ModelSpecAnnotationSpec com.icfolson.aem.prosper.annotations.ModelSpecAnnotationSpec Time elapsed: 1.496 sec <<< ERROR! java.lang.NoClassDefFoundError: org/apache/sling/models/impl/ModelAdapterFactory Caused by: java.lang.ClassNotFoundException: org.apache.sling.models.impl.ModelAdapterFactory
Running com.icfolson.aem.prosper.builders.RequestBuilderSpec Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.327 sec <<< FAILURE! - in com.icfolson.aem.prosper.builders.RequestBuilderSpec com.icfolson.aem.prosper.builders.RequestBuilderSpec Time elapsed: 0.327 sec <<< ERROR! java.lang.NoClassDefFoundError: org/apache/sling/models/impl/ModelAdapterFactory
Running com.icfolson.aem.prosper.builders.ResponseBuilderSpec Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.265 sec <<< FAILURE! - in com.icfolson.aem.prosper.builders.ResponseBuilderSpec com.icfolson.aem.prosper.builders.ResponseBuilderSpec Time elapsed: 0.264 sec <<< ERROR! java.lang.NoClassDefFoundError: org/apache/sling/models/impl/ModelAdapterFactory`