Well, Oscar is not really supported here, but the issue you describe below sounds like the manifest is not R3 compliant...my guess is that Oscar is getting confused about the use of "version" instead of "specification-version" on the imported/exported packages...Oscar probably should just ignore them, but it might not...so try to edit the manifest of the fileupload bundle to be more aligned with R3.

I am not sure why you must use Oscar, but I would strongly recommend moving to Felix since it has evolved greatly and fixes issues that exist in Oscar.

-> richard

Simon GAUTHERAT wrote:
Dear all,

Nobody can help me at this question ?

I try another solution with using commons-fileupload.jar, this solution
works on Felix but i must use Oscar and not Felix.

When i try to load the commons-fileupload.jar in oscar i have this error :

org.osgi.framework.BundleException: Could not create bundle object:
java.lang.Il
legalArgumentException: Missing 'specification-version' parameter.

Can Somebody say me how to load commons-upload and commons-io Bundles into
Oscar ?

Thanks

Simon




2007/12/5, Simon GAUTHERAT <[EMAIL PROTECTED]>:
Hello Everybody

I'm using OScar with http.jar and servlet.jar to develop a web
application.

I'm trying to develop in my servlets a file  upload but i hava serious
problems.

To upload the file i try to use MultiPartRequest off jetty but i don't
succeed to use it.

I add org.mortbay.jetty-jdk1.2.jar in the class path off the Java project
and i have this exception in execution :

java.lang.NoClassDefFoundError : org/mortbay/servlet/MultiPartRequest

Where i must add the library : in Bundle-ClassPath, in import-package.

I try the twice and i have everytime exception.

Thanks in advance to help me

Best Regards

Simon




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to