Hello everyone,

I get a problem when I try to use maven to compile my application. I can not 
find a solution by google,so ,I'm here :)

First,I create an web application depends on hibernate, and install it into my 
local repository,so there is a war package in my repository.
Then I create the second application. In pom.xml,I add a dependency to the 
first application. after that,I create a class in this application.
In this class,I use some hibernate api.

Then I use "mvn compile" command to compile the application. Here I get my 
problem:compile fail, error message is "can not find symbol". It
seems that maven do not know the first application depends on hibernate!

So,why?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to