Whenever I deploy the bundle module (OSGI code - service and components) with maven(mvn -PautoInstallPackage install clean) , the Service is not recognized in jsp . I am getting Service not found error. When I checked in the system/console, the bundle is in installed state and I am not able to start it. So I delete that bundle and manually uploaded the bundle. Even after manually uploading the bundle the Service is not recognized. Then I need to modify the JSP to make it recognized. Is there anyway to solve this problem?
Solved! Go to Solution.
Views
Replies
Total Likes
Can you click on the bundle and check if there is some error that you can see ?
Also as edubey mentioned, check the error logs,and exported packages value in pom.xml
Also check your code if you are using correct annotations and parameters.
Views
Replies
Total Likes
Hi,
Your question looks too high level but this is what I recommend:-
1 Make sure service is present in export package in pom.xml
2 Check error.log when deploying bundle
What you modify in JSP to make it work?
Views
Replies
Total Likes
Can you click on the bundle and check if there is some error that you can see ?
Also as edubey mentioned, check the error logs,and exported packages value in pom.xml
Also check your code if you are using correct annotations and parameters.
Views
Replies
Total Likes
You can also try clicking on the bundle and then click on refresh packages button on top right and see if you bundle state changes
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies