Giter VIP home page Giter VIP logo

Comments (5)

kwerle avatar kwerle commented on July 26, 2024

When trying to use rsense:
Exception in thread "main" java.lang.NoClassDefFoundError: org/cx4a/rsense/Main
Caused by: java.lang.ClassNotFoundException: org.cx4a.rsense.Main

Probably because the .jar file is not loaded?

from rsense.

Samsinite avatar Samsinite commented on July 26, 2024

See your issue above...

from rsense.

fancyoung avatar fancyoung commented on July 26, 2024

I have the same problem on linux.

$ bin/rsense server
start: /tmp/rsense-socket (27271)
Exception in thread "main" java.lang.NoClassDefFoundError: org/cx4a/rsense/Main
Caused by: java.lang.ClassNotFoundException: org.cx4a.rsense.Main
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.cx4a.rsense.Main. Program will exit.
singal: CHLD
stop

from rsense.

Samsinite avatar Samsinite commented on July 26, 2024

The rsense client server wrapper isn't used... The plugin instead runs through the java interface: "java -cp '.:#{RSense.path}/lib/rsense.jar:#{RSense.path}/lib/antlr-runtime-3.2.jar:#{RSense.path}/lib/jruby.jar' org.cx4a.rsense.Main script '--home=#{RSense.path}' --no-prompt --end-mark=END --config=#{File.dirname(FILE)}/../.rsense --progress=1" did you try saving a .rb test file then doing something like "test". then press ctrl+/?

from rsense.

fancyoung avatar fancyoung commented on July 26, 2024

I have solve my problem.
the edition I download doesn't have rsense.jar in lib folder.

from rsense.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.