According to the error message, it is expecting a class named "class" in a package named com.my. Frankly, I am amazed that you were able to declare a class named "class".
I think we need to see some code, but based on the scant information that you have provided, I don't know exactly what source code to ask for, other than all of it - the test code and the code you are testing. Also, please tell us more about your environment. OS version, JVM version, JBossAS version, how you are running JBossAS (via run script, as service, via Eclipse), what it is you are attempting to test (EJB, web service, messaging), and how you are running TestNG (via Ant, within Eclipse). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180350#4180350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180350 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user