java.lang.InstantiationException: oracle.jdbc.xa.OracleXADataSource

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

This happens when you try to instantiate a class that can't be instantiated, either because the class object is abstract, an interface, an array class, a primitive type, void, or because the class has no nullary constructor.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • java.lang.InstantiationException
    via by 807541,
  • Tomcat: cannot load servlet name
    via by joshK,
  • Creating and using a BaseJSP servlet
    via by Rocky Angelini,
  • Reflection instantiation exception
    via by 843798,
    • java.lang.InstantiationException: oracle.jdbc.xa.OracleXADataSource at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance( at com.sun.enterprise.repository.JdbcXAResource.createDataSource( at com.sun.enterprise.resource.ResourceInstaller.installJdbcXADataSources( at com.sun.enterprise.resource.ResourceInstaller.installJdbcDataSources( at at com.sun.enterprise.server.J2EEServer.main(

    Users with the same issue

    Unknown User
    Unknown User178 times, last one,
    Andreas Häber
    Andreas Häber2 times, last one,
    filpgame8 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    38 more bugmates