There are unresolved issues
"javax.persistence -- Cannot be resolved
org.apache.commons.beanutils,version=[1.9,2) -- Cannot be resolved
org.hibernate -- Cannot be resolved
org.hibernate.cfg -- Cannot be resolved
org.hibernate.classic -- Cannot be resolved
org.hibernate.dialect -- Cannot be resolved
org.hibernate.dialect.function -- Cannot be resolved
org.hibernate.transform -- Cannot be resolved
"
when trying to do mvn install in 6.3. can anyone help to resolve these issues? Thanks, in-advance.
Solved! Go to Solution.
Views
Replies
Total Likes
Use AEM Dependency Finder to see if AEM has dependencies for OSGi bundles. For this package - there is no OSGi bunlde exporting this Java package:
http://localhost:4502/system/console/depfinder
See
Views
Replies
Total Likes
This looks like you are using APIs from Hibernate, etc that are not part of the Experience Manager OSGi service container. You need to get these Java APIs into an OSGi bundle and deploy the bundle to AEM.
One way you can do that is to wrap them into an Eclipse plug-in project.
Views
Replies
Total Likes
Look at how we place the simple JSON JAR into an OSGi bundle by using the Eclipse plug-in project here: Scott's Digital Community: Submitting Adobe Experience Manager form data to custom Sling Servlets
Views
Replies
Total Likes
I accept for HIBERNATE dependencies but is it same for "javax.persistence" too
Views
Replies
Total Likes
Use AEM Dependency Finder to see if AEM has dependencies for OSGi bundles. For this package - there is no OSGi bunlde exporting this Java package:
http://localhost:4502/system/console/depfinder
See
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies