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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content