Hi,

did you check with the snapshot (1.6.0-SNAPSHOT)?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/3/19 Jukkales <[email protected]>

> Hi there,
>
> I have a problem with a CDI extension. I created on, put everything in the
> services files and now im trying to deploy it at tomee, but it says:
>
> *java.util.ServiceConfigurationError:
> javax.enterprise.inject.spi.Extension:
> Provider test.extensions.ScanAllClassesExtension not found*
>
> My structure:
>
> - file.ear
>   - META-INF
>   - file.war
>     - META-INF
>       - services
>         - javax.enterprise.inject.spi.Extension
>     - WEB-INF
>       - classes
>       - lib
>
>
> After trying and searching for hours and after debugging a bit i found the
> following problem:
>
> in /org.apache.openejb.assembler.classic.Assembler#createAppClassLoader()/
> a
> url classloader will be build using the path to the war file. But the
> classes are in WEB-INF/classes. If i add this manually, everything works
> fine.
>
> I want to ask is this a bug or is there a feature to add the
> WEB-INF/classes
> folder to the classpath?
>
> Thank you!
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/TomEE-CDI-Extension-ClassNotFoundException-because-WEB-INF-classes-is-ignored-tp4661619.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>

Reply via email to