Hi

if you do:

    @BeforeClass
    public static void start() {
        container = EJBContainer.createEJBContainer(new Properties() {{
            
setProperty(OpenEjbContainer.Provider.OPENEJB_ADDITIONNAL_CALLERS_KEY,
CourseTest.class.getName());
        }});
    }

it works


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


2014-09-15 10:35 GMT+02:00 amber <ambe...@hotmail.fr>:
> Hi,
>
> I wanted to migrated from 4.6.0 to 4.7.0 and I got this error :
>
> ATTENTION - an error occured while injecting the class 'foo': null
>
>
> I have a super-class test class to initialize OpenEJB, but the keyword
> "abstract" on it give a null pointer exception on CDI injection...
>
> here a sample I've started from (cdi-basic 4.7.0 sample) to add a super
> class.
>
> (note : occured is spelled occurred ?)
>
> Thx cdi-basic.zip
> <http://tomee-openejb.979440.n4.nabble.com/file/n4671770/cdi-basic.zip>
>
>
>
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/injecting-class-error-with-openEJB-4-7-0-tp4671770.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to