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

fails to build with org.apache.felix.framework 4.0.2 [PAXRUNNER-417] #181

Open
ops4j-issues opened this issue Nov 27, 2012 · 0 comments
Open

Comments

@ops4j-issues
Copy link

gil created PAXRUNNER-417

hi ,
i tried to build runner-1.7.6 with felix framework 4.0.2
i applied a patch for some missing FF methods (attached)

i encounter these errors:

ERROR Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile)
on project pax-runner: Compilation failure: Compilation failure:
ERROR pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/osgi/RunnerBundleContext.java:75,38
addListener(org.osgi.framework.BundleContext,java.lang.Class,java.util.EventListener,org.osgi.framework.Filter) in
org.apache.felix.framework.util.EventDispatcher cannot be applied to
(org.osgi.framework.Bundle,java.lang.Class<org.osgi.framework.ServiceListener>,org.osgi.framework.ServiceListener,org.osgi.framework.Filter)
ERROR
ERROR pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/osgi/RunnerBundleContext.java:107,42
getServiceReferences(java.lang.String,org.apache.felix.framework.capabilityset.SimpleFilter) in
org.apache.felix.framework.ServiceRegistry cannot be applied to
(java.lang.String,org.osgi.framework.Filter)
ERROR
ERROR pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/Run.java:205,23 cannot find symbol
ERROR symbol : method shutdown()
ERROR location: class org.apache.felix.framework.util.EventDispatcher
ERROR
ERROR pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/Run.java:241,48 cannot find symbol
ERROR symbol : constructor ServiceRegistry(<nulltype>)
ERROR location: class org.apache.felix.framework.ServiceRegistry
ERROR
ERROR pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/Run.java:242,66 cannot find symbol
ERROR symbol : constructor Logger(int)
ERROR location: class org.apache.felix.framework.Logger
ERROR
ERROR pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/Run.java:247,26
fireServiceEvent(org.osgi.framework.ServiceEvent,java.util.Dictionary,org.osgi.framework.launch.Framework) in
org.apache.felix.framework.util.EventDispatcher cannot be applied to (org.osgi.framework.ServiceEvent)
ERROR
ERROR pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/Run.java:243,23 cannot find symbol
ERROR symbol : method addServiceListener(<anonymous org.osgi.framework.ServiceListener>)
ERROR location: class org.apache.felix.framework.ServiceRegistry
ERROR
ERROR pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/Run.java:645,19
reference to BundleReference is ambiguous, both class org.osgi.framework.BundleReference in
org.osgi.framework and class org.ops4j.pax.runner.platform.BundleReference in org.ops4j.pax.runner.platform match
ERROR
ERROR pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/Run.java:645,63
reference to BundleReference is ambiguous, both class org.osgi.framework.BundleReference in
org.osgi.framework and class org.ops4j.pax.runner.platform.BundleReference in
org.ops4j.pax.runner.platform match
ERROR -> Help 1

thanks in advance for every help
regards


Affects: 1.7.6
Attachments:

Votes: 0, Watches: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant