ok setting JAVA_HOME to installation path for JDK 7 fixed that problem.

now i successfully did 'mvn clean install' for the spring osgi pom and
getting following on startup in karaf 3.0.0:

admin@NextGate> install
file:"/Users/arbisookazian/Documents/osgi/org.ops4j.pax.web/samples/war-spring-osgi/target/war-spring.war"
Bundle ID: 247
admin@NextGate> start 247
Error executing command: Error executing command on bundles:
        Unable to execute command on bundle 247: Unresolved constraint in bundle
org.ops4j.pax.web.samples.spring [247]: Unable to resolve 247.0: missing
requirement [247.0] osgi.wiring.package;
(&(osgi.wiring.package=org.springframework.web.servlet)(version>=3.1.0)(!(version>=4.0.0)))



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Unable-to-find-resource-using-Spring-ClassPathXmlApplicationContext-tp4032805p4032812.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to