When running a TestNG test in Seam I get a ClassNotFoundException: [Ljava.lang.Class;

Solution Unverified - Updated -

Issue

  • When I execute my seam TestNG inside of JBoss Developer Studio I receive the following exception:

    ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Described: name=BeanDeployer state=PreInstall
    java.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableException
    ...
    Caused by: java.lang.reflect.UndeclaredThrowableException
    ...
    Caused by: java.lang.ClassNotFoundException: [Ljava.lang.Class;
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
    ...
    

Environment

  • JBoss Enterprise Application Platform (EAP) 5
  • JBoss Developer Studio (JBDS)
  • Java Development Kit (JDK) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.