Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run compiled jar #26

Closed
kasparas12 opened this issue Apr 21, 2021 · 0 comments
Closed

Unable to run compiled jar #26

kasparas12 opened this issue Apr 21, 2021 · 0 comments

Comments

@kasparas12
Copy link

Hello, sorry for newbie question as I am not from Java ecosystem, but lately I have built the jar and dependencies from master branch, then added bubing-0.9.15.jar to CLASSPATH env. variable and tried to run crawler by issuing command defined in overview in my main folder where I have all jars (compiled jar and dependencies):

java -server -Xss256K -Xms20G -XX:+UseNUMA -Djavax.net.ssl.sessionCacheSize=8192 \ -XX:+UseTLAB -XX:+ResizeTLAB -XX:NewRatio=4 -XX:MaxTenuringThreshold=15 -XX:+CMSParallelRemarkEnabled \ -verbose:gc -Xloggc:gc.log -XX:+PrintGCDetails \ -XX:+PrintSafepointStatistics -XX:PrintSafepointStatisticsCount=1 \ -Djava.rmi.server.hostname=192.168.0.20 \ -Djava.net.preferIPv4Stack=true \ -Djgroups.bind_addr=192.168.0.20 \ -Dlogback.configurationFile=bubing-logback.xml \ -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false \ it.unimi.di.law.bubing.Agent -h 192.168.0.20 -P eu.properties -g eu agent -n 2>err >out

After issuing command in err log file I see the error:

Error: Could not find or load main class it.unimi.di.law.bubing.Agent
Caused by: java.lang.NoClassDefFoundError: it/unimi/dsi/jai4j/jgroups/JGroupsJobManager

This is how my main folder looks like, from where I am issuing java command:

image

What is the possible cause that given class cannot be found? Any help would be highly appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant