java.lang.IllegalArgumentException: interface dbtest.face is not visible from class loader

Oracle Community | 843798 | 1 decade ago
  1. 0

    Proxy prolbem

    Oracle Community | 1 decade ago | 843798
    java.lang.IllegalArgumentException: interface dbtest.face is not visible from class loader
  2. 0

    Spring OSGI transaction management

    Google Groups | 10 years ago | xluo
    java.lang.IllegalArgumentException: interface springserverbundle1.services.Service1 is not visible from class loader
  3. 0

    In version 1.1 of spring, it is not possible to use SingleConnectionDataSource in an ant task due to a classloader issue. On construction of the SingleConnectionDataSource an IllegalArgumentException is thrown. Example: java.lang.IllegalArgumentException: interface org.springframework.jdbc.datasource.ConnectionProxy is not visible from class loader at java.lang.reflect.Proxy.getProxyClass(Proxy.java:331) at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:552) at org.springframework.jdbc.datasource.SingleConnectionDataSource.getCloseSuppressingConnectionProxy(SingleConnectionDataSource.java:190) at org.springframework.jdbc.datasource.SingleConnectionDataSource.init(SingleConnectionDataSource.java:134) at org.springframework.jdbc.datasource.SingleConnectionDataSource.<init>(SingleConnectionDataSource.java:93) at ScdsProblem.<init>(ScdsProblem.java:17) at ScdsProblemTask.execute(ScdsProblemTask.java:10) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:301) at org.apache.tools.ant.Target.performTasks(Target.java:328) at org.apache.tools.ant.Project.executeTarget(Project.java:1215) at org.apache.tools.ant.Project.executeTargets(Project.java:1063) at org.apache.tools.ant.Main.runBuild(Main.java:632) at org.apache.tools.ant.Main.startAnt(Main.java:183) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) This does not occur in spring 1.0.2. I will attach the code for the (simple, example) ant task from which this stacktrace is derived.

    Spring JIRA | 1 decade ago | Rhett Sutphin
    java.lang.IllegalArgumentException: interface org.springframework.jdbc.datasource.ConnectionProxy is not visible from class loader
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JBoss EJB Deployment Problem

    Oracle Community | 1 decade ago | 843830
    java.lang.IllegalArgumentException: interface org.jboss.proxy.IClientContainer is not visible from class loader
  6. 0

    JMX Problem

    Oracle Community | 1 decade ago | 3004
    java.lang.IllegalArgumentException: void is not visible from class loader

    17 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      interface dbtest.face is not visible from class loader

      at java.lang.reflect.Proxy.getProxyClass()
    2. Java RT
      Proxy.newProxyInstance
      1. java.lang.reflect.Proxy.getProxyClass(Proxy.java:331)
      2. java.lang.reflect.Proxy.newProxyInstance(Proxy.java:552)
      2 frames
    3. dbtest
      MyProxy.main
      1. dbtest.MyProxy.main(MyProxy.java:28)
      1 frame