On 17 July 2011 02:53, Robert Scholte <[email protected]> wrote:
> It is less complex, it´s just like any other 
> java-project:this.getClass().getResourceAsStream( name )
> this.getClass().getResource( name );

That's what I started with but both give me a NULL.

Just to make sure I've given you all (possibly irrelevant)
information, here's the full scoop:

1. In generate-sources, my plugin runs the maven-compiler-plugin to
compile Main.java (this works fine);
2. It then tries to load Main.class. This does not work, even though
Main.class exists and is on the class path. I get NULLs and
ClassNotFoundExceptions.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to