Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pepper-lib assembly does not start properly #137

Open
MartinKl opened this issue Jan 19, 2021 · 0 comments
Open

Pepper-lib assembly does not start properly #137

MartinKl opened this issue Jan 19, 2021 · 0 comments

Comments

@MartinKl
Copy link
Contributor

MartinKl commented Jan 19, 2021

Building pepper lib with mvn clean install assembly:single does not result in a clean and properly starting pepper. This what happens instead:

The bundle 'org.apache.felix.scr-2.1.24' wasn't started correctly. The bundle is located at 'XXX/plugins/org.apache.felix.scr-2.1.24.jar'. This could cause other problems. For more details turn on log mode to debug and see log file. 
org.osgi.framework.BundleException: Could not resolve module: org.apache.felix.scr [19]
  Unresolved requirement: Import-Package: org.osgi.service.cm; version="[1.6.0,2.0.0)"; resolution:="optional"
  Unresolved requirement: Import-Package: org.apache.felix.service.command; version="[1.0.0,2.0.0)"; resolution:="optional"
  Unresolved requirement: Import-Package: org.osgi.util.promise; version="[1.0.0,2.0.0)"

	at org.eclipse.osgi.container.Module.start(Module.java:444)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:447)
	at org.corpus_tools.pepper.connectors.impl.PepperOSGiConnector.start(PepperOSGiConnector.java:655)
	at org.corpus_tools.pepper.connectors.impl.PepperOSGiConnector.startBundles(PepperOSGiConnector.java:688)
	at org.corpus_tools.pepper.connectors.impl.PepperOSGiConnector.init(PepperOSGiConnector.java:174)
	at org.corpus_tools.pepper.cli.PepperStarter.setPepper(PepperStarter.java:131)
	at org.corpus_tools.pepper.cli.PepperStarter.main(PepperStarter.java:1382)
The bundle 'org.apache.felix.scr-2.1.24' wasn't started correctly.
The bundle 'org.eclipse.equinox.ds-1.6.200.v20200422-1833' wasn't started correctly. The bundle is located at 'XXX/plugins/org.eclipse.equinox.ds-1.6.200.jar'. This could cause other problems. For more details turn on log mode to debug and see log file. 
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.equinox.ds [55]
  Unresolved requirement: Import-Package: org.osgi.service.component; version="1.4.0"
    -> Export-Package: org.osgi.service.component; bundle-symbolic-name="org.apache.felix.scr"; bundle-version="2.1.24"; version="1.4.0"; uses:="org.osgi.framework"
       org.apache.felix.scr [19]
         Unresolved requirement: Import-Package: org.osgi.service.cm; version="[1.6.0,2.0.0)"; resolution:="optional"
         Unresolved requirement: Import-Package: org.apache.felix.service.command; version="[1.0.0,2.0.0)"; resolution:="optional"
         Unresolved requirement: Import-Package: org.osgi.util.promise; version="[1.0.0,2.0.0)"
  Unresolved requirement: Import-Package: org.osgi.service.component.runtime; version="1.4.0"
    -> Export-Package: org.osgi.service.component.runtime; bundle-symbolic-name="org.apache.felix.scr"; bundle-version="2.1.24"; version="1.4.0"; uses:="org.osgi.framework,org.osgi.service.component.runtime.dto,org.osgi.util.promise"

	at org.eclipse.osgi.container.Module.start(Module.java:444)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:447)
	at org.corpus_tools.pepper.connectors.impl.PepperOSGiConnector.start(PepperOSGiConnector.java:655)
	at org.corpus_tools.pepper.connectors.impl.PepperOSGiConnector.startBundles(PepperOSGiConnector.java:688)
	at org.corpus_tools.pepper.connectors.impl.PepperOSGiConnector.init(PepperOSGiConnector.java:174)
	at org.corpus_tools.pepper.cli.PepperStarter.setPepper(PepperStarter.java:131)
	at org.corpus_tools.pepper.cli.PepperStarter.main(PepperStarter.java:1382)
The bundle 'org.eclipse.equinox.ds-1.6.200.v20200422-1833' wasn't started correctly.
Configuring update mechanism ...
Welcome to Pepper, type 'help' for help or 'convert' to start a conversion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant