classpath
Java Classpath Woes
Luckily or unluckily, I haven\'t had to work too extensively with invoking java from the commandline up until this point, I\'ve usually been using something like Maven, Ant, or running things within a[详细]
2023-03-24 12:45 分类:问答Jar hell: how to use a classloader to replace one jar library version with another at runtime
I\'m still relatively new to Java, so please bear with me. My issue is that my Java application depends on two libraries. Let\'s call them Library 1 and Library 2.Both of these libraries share a mutu[详细]
2023-03-24 06:41 分类:问答Excluding certain classes from a thread's context classloader in Java?
If I have a program invoked in the following way java -cp a.jar;b.jar;c.jar MainClass All the classes from a.jar, b.jar, and c.jar will be available to all the threads in my program. I\'d like to h[详细]
2023-03-24 01:54 分类:问答Loading axis2 modules from classpath
I am writing an Axis2 client which will not have access to a repository folder on the filesystem. Is there a way to load开发者_运维百科 the modules which axis need for instance rampart and addressing,[详细]
2023-03-23 19:10 分类:问答How can I exclude one persistence.xml from the test classpath in Eclipse without using Maven/Ant?
While running JUnit integration tests inside Eclipse, I have two persistence.xml files on the classpath - one containing the configuration for the test cases and another one for production. I need to[详细]
2023-03-23 17:32 分类:问答How to set up classpath for the Scala interpreter in a managed environment?
I am working on an extension for the Apache Wicket web framework, which lets the user execute code in several programming languages at runtime from the browser. One of these languages is Scala, but I[详细]
2023-03-23 17:29 分类:问答Javah Not Recognizing class (A) mentioned in class (B) when operating on class B
I\'m trying to get a jni header for class B, and class A sits in the same package, right next to it.[详细]
2023-03-23 05:10 分类:问答Loading several files into the classpath for Scala interpreter
I\'m trying to get the Scala interpreter to load certain files into the classpath automatically (or with as little effort from the user as possible).[详细]
2023-03-23 03:12 分类:问答[TestNG][Jar] Set Classpath in Manifest (Class-Path) -- classpath is ignored?
I\'m trying to run a simple TestNG test case residing within a jar file, which contains the test and manifest:[详细]
2023-03-22 06:34 分类:问答"Cannot find symbol" error - even on a ridiculously simple example
So I\'ve been trying to solve this problem for a matter of hours now. I\'ve scoured the internet, I\'ve scoured StackOverflow, I\'ve asked some co-workers (I\'m an intern) and honestly no one can tell[详细]
2023-03-22 04:04 分类:问答