ok, first question.
Why do you have an extra import.
I would suggest to actually have the Class(s) in question inside your
fragment bundle.

Everything else looks ok to me.

regards, Achim


2017-12-21 1:30 GMT+01:00 dt pham <[email protected]>:

> Achim, I still has ClassNotFoundException of my class. This is what I have
>> in MANIFEST file.
>>
> Manifest-Version: 1.0
> Bundle-Description: Attaching com.riits.handlers to pax web jetty
> Bundle-SymbolicName: com.riits.handlers
> Archiver-Version: Plexus Archiver
> Built-By: d.pham
> Bundle-ManifestVersion: 2
> Import-Package: org.eclipse.jetty,javax.servlet,java.io,java.util
> Fragment-Host: org.ops4j.pax.web.pax-web-jetty; version="[6.0.3]"
> Export-Package: com.riits.handlers; version="1.0.0"
> Bundle-Version: 1.0.0
> Bundle-Name: HandlerWrapper Extension
> Created-By: Apache Maven 3.3.3
> Build-Jdk: 1.8.0_92
>
> I also add a line in startup.properties to point to my
>> com-riits-handlers-1.0.0.jar file
>>
> mvn\:org.apache.karaf.features/org.apache.karaf.features.extension/4.1.1
> = 1
> file:C:/Talend/6.4.1/runtime/riits/com-riits-handlers-1.0.0.jar = 2
> mvn\:org.apache.felix/org.apache.felix.metatype/1.1.2 = 5
> mvn\:org.apache.karaf.services/org.apache.karaf.services.eventadmin/4.1.1
> = 5
> mvn\:org.ops4j.pax.url/pax-url-aether/2.5.2 = 5
> mvn\:org.ops4j.pax.logging/pax-logging-api/1.9.1 = 8
> mvn\:org.ops4j.pax.logging/pax-logging-log4j2/1.9.1 = 8
> mvn\:org.apache.felix/org.apache.felix.configadmin/1.8.14 = 10
> mvn\:org.apache.felix/org.apache.felix.fileinstall/3.5.8 = 11
> mvn\:org.apache.karaf.features/org.apache.karaf.features.core/4.1.1 = 15
>
>
>
>
>
>
> --
> --
> ------------------
> OPS4J - http://www.ops4j.org - [email protected]
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OPS4J" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to