You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Roman Minko (JIRA)" <ji...@apache.org> on 2013/03/17 18:59:14 UTC
[jira] [Created] (SYNCOPE-337) ClassNotFoundException in karaf osgi
container
Roman Minko created SYNCOPE-337:
-----------------------------------
Summary: ClassNotFoundException in karaf osgi container
Key: SYNCOPE-337
URL: https://issues.apache.org/jira/browse/SYNCOPE-337
Project: Syncope
Issue Type: Bug
Components: console, core
Affects Versions: 1.1.0
Environment: apache karaf 2.3.1
Reporter: Roman Minko
Install war feature and try to install syncope core and console wars.
Different dependencies issues and finally ClassNotFoundException in logs appeared.
Syncope already include all the dependent jars in the lib/ folder of the war.
But the MANIFEST files in the syncope-core and syncope-console are not correct enough, Bundle-ClassPath: , Web-ContextPath: should be added into MANIFEST.
After manually adding Bundle-ClassPath: and update Import-Package: nothing dependencies bundles needed and no ClassNotFoundException.
Pom files of core and console project should be updated to generate correct Bundle-ClassPath and Import-Package in MANIFEST. Or make changes on the MANIFEST directly during the build at least.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira