Den lørdag den 25. august 2012 22.15.45 UTC+2 skrev christoffer pedersen:
Greetings,
I've tried searching for an answer with no luck. My problem is simple in nature, i have a client/server application where the server performs some client work when persisting changes in a database. As such the server application depends on the client library. Everything works fine in a development setup when i have both server and client in an IDE.
However, for production i publish the client library to my self-hosted maven style repository. Again everything get's fetched properly, and code is running perfectly until i need to persists something in the database where i'll eventually get a ClassNotFoundException. The problem (i think) is that the class that can't be found is never used directly in my code. It's used by a model class in my code, but not before runtime. I've tried explicitly importing the class, of course my IDE reports it as unused (because it technically is) and i'm thinking that's why it's not fetched (?) I've checked the published jar, and the class is included.
So my problem is just that it's not being fetched, is there a way to tell SBT to fetch everything or something like that? I find it hard to believe that no one else have had this problem