Comments (12)
Hmm. I can't reproduce it. Can you try running lein classpath
and make sure quasar-0.5.0.jar is there?
from pulsar.
Can't see quasar-0.5.0.jar, but see quasar-core-0.5.0.jar. Classpath looks like this (full classpath and project.clj below):
/tmp/a$ lein classpath |tr ':' '\n' | grep quasar
/Users/dsabanin/.m2/repository/co/paralleluniverse/quasar-core/0.5.0/quasar-core-0.5.0.jar
/Users/dsabanin/.m2/repository/co/paralleluniverse/quasar-actors/0.5.0/quasar-actors-0.5.0.jar
/tmp/a$ cat project.clj
(defproject a "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[co.paralleluniverse/pulsar "0.5.0"]]
:java-agents [[co.paralleluniverse/quasar-core "0.5.0"]])
/tmp/a$ lein classpath |tr ':' '\n'
/private/tmp/a/test
/private/tmp/a/src
/private/tmp/a/dev-resources
/private/tmp/a/resources
/private/tmp/a/target/classes
/Users/dsabanin/.m2/repository/com/codahale/metrics/metrics-core/3.0.2/metrics-core-3.0.2.jar
/Users/dsabanin/.m2/repository/org/clojure/core.match/0.2.1/core.match-0.2.1.jar
/Users/dsabanin/.m2/repository/com/google/guava/guava/16.0.1/guava-16.0.1.jar
/Users/dsabanin/.m2/repository/org/slf4j/slf4j-api/1.7.6/slf4j-api-1.7.6.jar
/Users/dsabanin/.m2/repository/co/paralleluniverse/quasar-core/0.5.0/quasar-core-0.5.0.jar
/Users/dsabanin/.m2/repository/org/apache/ant/ant-launcher/1.9.3/ant-launcher-1.9.3.jar
/Users/dsabanin/.m2/repository/org/clojure/math.combinatorics/0.0.2/math.combinatorics-0.0.2.jar
/Users/dsabanin/.m2/repository/org/flatland/useful/0.9.0/useful-0.9.0.jar
/Users/dsabanin/.m2/repository/co/paralleluniverse/quasar-actors/0.5.0/quasar-actors-0.5.0.jar
/Users/dsabanin/.m2/repository/com/lmax/disruptor/3.2.1/disruptor-3.2.1.jar
/Users/dsabanin/.m2/repository/de/javakaffee/kryo-serializers/0.26/kryo-serializers-0.26.jar
/Users/dsabanin/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar
/Users/dsabanin/.m2/repository/org/clojure/core.contracts/0.0.4/core.contracts-0.0.4.jar
/Users/dsabanin/.m2/repository/lamina/lamina/0.5.0/lamina-0.5.0.jar
/Users/dsabanin/.m2/repository/org/ow2/asm/asm-analysis/5.0.1/asm-analysis-5.0.1.jar
/Users/dsabanin/.m2/repository/org/apache/logging/log4j/log4j-core/2.0-rc1/log4j-core-2.0-rc1.jar
/Users/dsabanin/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.0-rc1/log4j-slf4j-impl-2.0-rc1.jar
/Users/dsabanin/.m2/repository/org/clojure/tools.macro/0.1.1/tools.macro-0.1.1.jar
/Users/dsabanin/.m2/repository/com/esotericsoftware/kryo/kryo/2.23.0/kryo-2.23.0.jar
/Users/dsabanin/.m2/repository/org/clojure/core.typed/0.2.39/core.typed-0.2.39.jar
/Users/dsabanin/.m2/repository/org/clojure/tools.nrepl/0.2.3/tools.nrepl-0.2.3.jar
/Users/dsabanin/.m2/repository/com/esotericsoftware/minlog/minlog/1.2/minlog-1.2.jar
/Users/dsabanin/.m2/repository/org/clojure/data.priority-map/0.0.4/data.priority-map-0.0.4.jar
/Users/dsabanin/.m2/repository/org/clojure/tools.logging/0.2.4/tools.logging-0.2.4.jar
/Users/dsabanin/.m2/repository/potemkin/potemkin/0.3.2/potemkin-0.3.2.jar
/Users/dsabanin/.m2/repository/org/clojure/clojure/1.5.1/clojure-1.5.1.jar
/Users/dsabanin/.m2/repository/org/apache/logging/log4j/log4j-api/2.0-rc1/log4j-api-2.0-rc1.jar
/Users/dsabanin/.m2/repository/clojure-complete/clojure-complete/0.2.3/clojure-complete-0.2.3.jar
/Users/dsabanin/.m2/repository/org/clojure/core.cache/0.6.3/core.cache-0.6.3.jar
/Users/dsabanin/.m2/repository/org/clojure/jvm.tools.analyzer/0.6.1/jvm.tools.analyzer-0.6.1.jar
/Users/dsabanin/.m2/repository/org/ow2/asm/asm-tree/5.0.1/asm-tree-5.0.1.jar
/Users/dsabanin/.m2/repository/org/ow2/asm/asm-util/5.0.1/asm-util-5.0.1.jar
/Users/dsabanin/.m2/repository/org/ow2/asm/asm/5.0.1/asm-5.0.1.jar
/Users/dsabanin/.m2/repository/useful/useful/0.8.8/useful-0.8.8.jar
/Users/dsabanin/.m2/repository/org/clojure/tools.namespace/0.2.4/tools.namespace-0.2.4.jar
/Users/dsabanin/.m2/repository/org/ow2/asm/asm-commons/5.0.1/asm-commons-5.0.1.jar
/Users/dsabanin/.m2/repository/org/apache/ant/ant/1.9.3/ant-1.9.3.jar
/Users/dsabanin/.m2/repository/gloss/gloss/0.2.2/gloss-0.2.2.jar
/Users/dsabanin/.m2/repository/co/paralleluniverse/pulsar/0.5.0/pulsar-0.5.0.jar
from pulsar.
Sorry, I meant quasar-core-0.5.0.jar. Can you maybe do:
sum ~/.m2/repository/co/paralleluniverse/quasar-core/0.5.0/quasar-core-0.5.0.jar
I'm getting 31413 1099
.
I know it's grasping at straws, but this has to be some configuration problem, and since the same project works on a different machine with seemingly the same configuration (Oracle vs. OpenJDK shouldn't make a difference)...
from pulsar.
Unfortunately I'm getting the same result from sum:
$ sum ~/.m2/repository/co/paralleluniverse/quasar-core/0.5.0/quasar-core-0.5.0.jar
31413 1099 ~/.m2/repository/co/paralleluniverse/quasar-core/0.5.0/quasar-core-0.5.0.jar
I tried removing my ~/.m2 directory, it didn't help. All other leiningen-based projects build just fine.
I noticed that if I remove the :java-agents part from the project.clj, but move [co.paralleluniverse/quasar-core "0.5.0"] into the :dependencies, lein repl loads fine. I assume this means that the problem is in the agent part, the jar itself is loaded fine as a regular dependency.
I've tried adding this line to the project.clj, for the sake of investigation, but it didn't help – printed the same exceptions:
:jvm-opts ["-javaagent:~/.m2/repository/co/paralleluniverse/quasar-core/0.5.0/quasar-core-0.5.0.jar"]
from pulsar.
Can you maybe try upgrading your Java version (to a higher 1.7.0 update)? I can't explain why this would matter, but so far this is a glaring difference between the machine it fails on and your other machine (as well as ours).
from pulsar.
Closing due to inactivity.
from pulsar.
I'm getting the same above error with pulsar/quasar 0.7.2 and Java 1.7.0_21.
The project I'm using is from @yogothos - https://github.com/yogthos/pulsar-example.
Cloning this project, and running lein repl
throws the same error.
java.lang.NoClassDefFoundError: co/paralleluniverse/fibers/SuspendExecution, compiling:(still.clj:43:9)
Any advice would be great.
from pulsar.
Can you share your project file?
from pulsar.
It's the same one of the project mentioned in the link - https://github.com/yogthos/pulsar-example/blob/master/project.clj.
Like I mentioned, I simply cloned the project and ran lein deps
followed by lein repl
.
Thanks for your speedy response!
from pulsar.
Resolved it! Everything seemed working fine after removing the [refactor-nrepl "1.2.0-SNAPSHOT"]
dependency from my profiles.cl
j file.
Thanks again!
from pulsar.
Having the same issue as @darth10. I don't think that removing refactor-nrepl
is a solution, since my primary editor is Emacs and I'd like to keep it
from pulsar.
I'm sorry, didn't notice #43
from pulsar.
Related Issues (20)
- watch! fails when called from within a receive with an :else clause
- Selective receive breaks when spawning an actor on a redefined `defsfn` HOT 4
- (spawn-fiber #(rcv channel)) failing in the REPL
- `Deref clojure.core/promise` in fiber outputs stream of warnings HOT 3
- supervisor does not appear to handle gen-server crashing HOT 9
- Automatic instrumentation HOT 6
- Pulsar fibers vs. core.async `go` blocks HOT 2
- Watching actors from a gen-server HOT 2
- shutdown! doesn't take cause/reason as an argument.
- Passing a symbol bound in let to gen-server throws an exception.
- call-timed! doesn't return nil HOT 1
- fvvvrv v vfvf
- auto instrumentation throwing ClassFormatError HOT 1
- clustered ping/pong in example not working
- Blocking and bound mailboxes - not working as expected HOT 2
- register! creates an mbean, need to remove with quasar HOT 1
- Mechanism for detecting when sending to a closed channel
- Status of pulsar HOT 3
- Clojure 1.10
- Support virtualThreads?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulsar.