classpath Questions
12
Solved
I've got an interesting problem in which the org.apache.log4j.Logger class is not found during runtime. I'm trying to get authorized and that is where it's failing:
OAuthAuthorizer oauthAuthorizer...
Betulaceous asked 3/1, 2014 at 17:34
14
Solved
Ok I'm currently trying mavenise a project. However my project fails to find the xml file containing the some beans. combined2.xml
I have it defined as:
public RepeatingGrpPoC() {
appContext = ...
5
Solved
I am using maven-compile plugin to compile classes. Now I would like to add one jar file into the current classpath. That file stays in another location (let's say c:/jars/abc.jar . I prefer to lea...
14
In Maven project when I run test case (on Windows):
Error running TestApp.readParameter: Command line is too long. In
order to reduce its length classpath file can be used. Would you like
to enabl...
Rancidity asked 17/6, 2011 at 4:4
8
I could not find a proper answer to this error in other posts.
I am using Maven for building my project in VS Code and whenever I create a class this error appears.
Do I need to do anything with ...
Reimport asked 6/3, 2020 at 13:2
12
Solved
In Ubuntu 12.04, I have jdk7 from sun/oracle installed. When locate jni.h, it prints multiple locations
/usr/lib/jvm/java-6-openjdk-amd64/include/jni.h
/usr/lib/jvm/jdk1.7.0_07/include/jni.h
...
...
Biomedicine asked 25/1, 2013 at 20:19
18
Solved
I am looking for a way to get a list of all resource names from a given classpath directory, something like a method List<String> getResourceNames (String directoryName).
For example, given ...
34
Solved
This problem happens intermittently for different libraries and different projects.
When trying to import a library, the package will be recognized, but the class name can't be resolved.
If on the ...
Emelun asked 15/11, 2014 at 23:39
63
Solved
I have a project in eclipse on my laptop that I pushed to Git https://github.com/chrisbramm/LastFM-History-Graph.git
It works fully on my laptop and runs/builds without a problem but on my desktop...
8
Solved
I have an application that I'm trying to wrap into a jar for easier deployment. The application compiles and runs fine (in a Windows cmd window) when run as a set of classes reachable from the CLAS...
Circumvolution asked 30/10, 2008 at 13:26
5
Solved
I set the c:/android-sdk/tools path to the path environment and commands like emulator is working just fine. But the adb command is still not recognized, what should I do ?
In the path system vari...
30
Solved
I am trying to run a Java application, but getting this error:
java.lang.ClassNotFoundException:
After the colon comes the location of the class that is missing. However, I know that that locat...
Bridgeport asked 1/7, 2013 at 15:58
11
Solved
I was just reading this line:
The first thing the format() method does is load a Velocity template from the classpath named output.vm
Please explain what was meant by classpath in this context...
Johansen asked 7/3, 2010 at 14:4
27
Solved
I get the error:
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 7 in the generated java file
Only a type can be imported. org.eresearch.knowledgepor...
Ulloa asked 7/12, 2009 at 7:46
2
Solved
My goal is to deploy an ear file in JBoss 7.1.1. One of the classes in the ear file (which I cannot change) is using sun.net.util.IPAddressUtil class of JRE's rt.jar.
In my IDE (eclipse) resolves...
0
can you suggest a solution so that the classpath find the logo in resources and the fonts?
@Component
public class LambdaHandler implements Consumer<Map<String, Object>> {
private fin...
Indecorum asked 24/10, 2023 at 20:59
3
Solved
Can someone tell me where and how I set the classpath in NetBeans? I would like to add a .jar file.
2
Solved
I'm making a maven plugin that run in test phase, in pom.xml configuration of a project that uses my plugin, I'm setting a class canonical name that I want to use to run that class from my plugin, ...
Virgilvirgilia asked 9/4, 2018 at 16:39
11
Solved
I'm trying to parse some JSON object strings that I'm getting using gson-1.6.jar I have placed it in the same location as my other .jars and have added it to my buildpath in eclipse.
The other libr...
7
Solved
I am getting error in the whole class that extends BottomSheetDialogFragment
Cannot access 'androidx.lifecycle.HasDefaultViewModelProviderFactory' which is a supertype of 'FavoriteBottomDialogFrag...
Juxtapose asked 9/6, 2020 at 15:13
15
Solved
I want to write a Spek test in Kotlin.
How to read an HTML file from the src/test/resources folder?
class MySpec : Spek(
{
describe("blah blah") {
given("blah blah") {
var f...
Yusuk asked 11/3, 2017 at 19:45
2
Solved
I'm setting up a Kafka consumer configuration and the configuration cannot find the keystore or truststore on the classpath:
@EnableKafka
@Configuration
public class KafkaConfig {
@Value("${kafk...
Southeaster asked 12/9, 2019 at 22:6
5
Solved
I want to set my path permanently for the following directory:
/Users/syalam/Library/android-sdk-mac_86/platform-tools
Not sure how to do it from the terminal. I tried:
export PATH=$PATH:/Users...
4
Solved
Does anyone know of a way to set a specific classpath order in Maven2, rather than the random ordering I appear to experience at the moment?
There are a number of legitimate reasons for wanting to...
4
Solved
So, I can do this very well:
java mypackage.MyClass
if ./mypackage/MyClass.class exists. I can also happily do this:
java -cp myjar.jar mypackage.MyClass
if the class file exists in the appro...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.