[jboss-as7-dev] Module classloader can't find JavaSE classes in AS7 testsuite?
Jason T. Greene
jason.greene at redhat.com
Wed Mar 23 10:37:47 EDT 2011
javax.api is a special aggregation module where we filter stuff from the
jdk we don't want in the app server (things we redefine)
On 3/23/11 9:32 AM, Ales Justin wrote:
> 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
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
--
Jason T. Greene
JBoss, a division of Red Hat
More information about the jboss-as7-dev
mailing list