[jboss-as7-dev] Module classloader can't find JavaSE classes in AS7 testsuite?

Ales Justin ales.justin at gmail.com
Wed Mar 23 10:32:47 EDT 2011


Last time I checked javax.naming.Context was part of JDK.
Or is "javax.api" module where we put those javax.* JDK classes?

On Mar 23, 2011, at 3:19 PM, David M. Lloyd wrote:

> The module that is missing is "javax.api" - you should not add "system". 
>  The question is, from what module is this declaration missing?
> 
> On 03/23/2011 08:35 AM, Ales Justin wrote:
>> What about if you add "system" module?
>> 
>> On Mar 23, 2011, at 1:02 PM, Jaikiran Pai wrote:
>> 
>>> I'm trying to write a test in testsuite/smoke-tests. The test is
>>> pretty simple and has a javax.naming.Context import in it. I keep
>>> running into this CNFE every time I try running it:
>>> 
>>> 17:12:22,623 SEVERE [org.jboss.arquillian.protocol.jmx.JMXTestRunner]
>>> (pool-31-thread-1) Error in test method: testLocalBindingsOnSLSB:
>>> java.lang.NoClassDefFoundError: javax/naming/Context
>> 
>> 
>> 
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> 
> 
> -- 
> - DML
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev




More information about the jboss-as7-dev mailing list