Hello! I'm new to Apache Felix, as you can guess from the subject. I did try searching the forums for this problem and didn't find an exact match (and did try related suggestions).
I'm following this first tutorial: http://cwiki.apache.org/FELIX/apache-felix-tutorial-example-1.html I've compiled my example1.jar and checked out its contents. The class and manifest are in the correct location. The manifest looks like this: Bundle-Name: Service listener example Bundle-Description: A bundle that displays messages at startup and when service events occur Bundle-Vendor: Apache Felix Bundle-Version: 1.0.0 Bundle-Activator: tutorial.example1.Activator Import-Package: org.osgi.framework,tutorial.example1 Note I was stumped for about an hour by the manifest because I hadn't included a trailing carriage return on the last line of the file, so the JAR command silently ignored that line. It might be good to mention the importance of that trailing carriage return in the tutorial. But that's resolved. Now, I start felix via: C:\Tools\felix-1.0.3>java -jar bin\felix.jar I name my profile "tutorial1", then I attempt to start my bundle: -> start file:/C:\felix-temp\example1.jar and the result is: org.osgi.framework.BundleException: Unresolved package in bundle 4: package; (&( package=tutorial.example1)(version>=0.0.0)) I have tried a few things: (1) I added "tutorial.example1" as an entry to the Import-Package attribute. I don't know if that makes any sense, but I've seen it done in other manifests and wondered if it was necessary for Felix to see it. (2) I tried adding "tutorial.example1" to the org.osgi.framework.system.packages list in config.properties. This did not help. Am I missing something obvious? Thanks, Jared -- View this message in context: http://www.nabble.com/%22BundleException%3A-unresolved-package%22-while-following-tutorial-tp15766532p15766532.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

