Errors at my program
I am new not only to Maven but also to Java.
I downloaded NetBeans IDE 7.3.1 and want to work with Maven.
From command prompt, I selected my project as jsf, hibernate, mysql.
When I open my project from netbeans, I see lots of errors.
At the beginnig of my code, there are import codes as follow:
But it gives error : package javax.persistence does not exist
Why? If it is maven project and comes with Netbeans, why do I have to install new package?
Re: Errors at my program
How do you come to that conclusion? Its a simple missing dependency, JPA in this case. Maven can help you to manage such dependencies, but only when you learn to properly use it.
Note that if you can't identify a dependency problem, you don't know nearly enough about Java yet to be able to use Maven.