classloader
When is ClassDefiner used?
I\'ve run into a ClassLoader problem, and it goes something like this: java.lang.ClassCastException: com.google.appengine.api.datastore.Key[详细]
2023-04-03 09:46 分类:问答ClassCastException with multiple wars deployed in Tomcat
I have two WARs deployed to the same Tomcat 7 instance, and both use CXF + WSS4J. The two apps communicate via SOAP, and WSS4J interceptors handle SAML assertions in the SOAP headers. When testing eac[详细]
2023-04-03 08:26 分类:问答Upgrade Hibernate version in JBOSS
I am having a hard time when trying to ship inside my EAR my own version of Hibernate (and not the one that JBoss brings by default).[详细]
2023-04-02 01:59 分类:问答Is it possible to get the Extension class loader object?
I\'m learning about ClassLoading concepts in java. I know that can get the Syste开发者_运维百科m classLoader with ClassLoader.getSystemClassLoader() method using java.lang.ClassLoader class. Is it po[详细]
2023-04-01 23:39 分类:问答How can the java 'class' literal return different instances of the Class object for the same class?
I have an extremely puzzling situation and looking for any ideas. I\'m running a small Spring MVC app, where I make use of the RequestMapping annotation on my controller \"AnsController\". When Reque[详细]
2023-04-01 13:20 分类:问答How can I load a class which is not in the same jar archive as the current class?
Situation: I\'m making a simulator for plotting the time complexity of algorithms. The students can add load their own .java file to run it.[详细]
2023-04-01 04:17 分类:问答how to make a dynamically loaded plugin web application-aware
I decided to implement dynamic class loading in my glassfish web application, as a way of trying it out and to support small plugins that could be loaded and executed by the web app at runtime.[详细]
2023-03-31 19:38 分类:问答Websphere single classloader equivalence in jboss
We\'ve got a project migrating from websphere to jboss. In the websphere d开发者_如何转开发eployment document, there\'s a step specifying war class loader policy: single class loader for application.[详细]
2023-03-31 18:21 分类:问答Java ClassLoader Basics
I have a need for a personal command-line tool that should take the name of a concrete subclass as a CL argument and instantiate the correct Java class at runtime:[详细]
2023-03-31 14:41 分类:问答Tomcat6 ignores web-inf/lib
Brief: Tomcat6 can\'t recognize my ojdbc14.jar in WebRoot/WEB-INF/lib. I suppose I don\'t need to configure anything, just putting the .jar file in there and it should work.[详细]
2023-03-31 13:58 分类:问答