Java class dependencies not resolving in compiled jar

13 views
Skip to first unread message

Kyle Balkissoon

unread,
Oct 13, 2015, 2:57:02 AM10/13/15
to Maven and Scala
Hi all,
I'm getting a classdef not found error, in the compiled jar that maven package generates.

The dependencies work fine when running in eclipse as a scala app.

How do I fix this?


Thanks in advance

David Bernard

unread,
Oct 13, 2015, 3:05:14 AM10/13/15
to Maven and Scala
Hi,

Can you post the command line and the stackstrace ?

The "missing" class is in the jar you generate or in dependencies ?

/davidB

--

---
You received this message because you are subscribed to the Google Groups "Maven and Scala" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maven-and-sca...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kyle Balkissoon

unread,
Nov 12, 2015, 10:26:37 PM11/12/15
to Maven and Scala
Edit, Sorry for the double post David Bernard proposed a fix by updating the maven-compiler-version. I updated it to 3.4 and it works fine.
Reply all
Reply to author
Forward
0 new messages