Hi, I have 2 OCGi projects. Project-A is a Web app and Project-B contains a web-fragment. Project-B's web-fragment.xml declares a ServletListener and the class is also packaged in Project-B. However at server startup, it is Project-A that starts the ServletListener. I am getting java.lang.ClassNotFoundException. I need Project-A to be able to load the class in Project-B but preferably without having to configure a dependency from Project-A to Project-B. Is there some kind of class loader setting for the EBA similar to EAR's where you can tell it to use a single class loader for all modules in the application?
This topic has been locked.
1 reply Latest Post - 2012-07-26T16:28:02Z by MarkN
Pinned topic Basic class loader question for OSGi
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-07-26T16:28:02Z at 2012-07-26T16:28:02Z by MarkN
MarkN 110000BE39124 Posts