Path: csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Cecil Westerhof Newsgroups: comp.lang.java.programmer Subject: Maven does not find javax,persistence Date: Wed, 19 Aug 2015 12:24:07 +0200 Organization: Decebal Computing Lines: 20 Message-ID: <87egizr2yg.fsf@Equus.decebal.nl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="528adfd6ad074c92fdc6a7f8fb9e23d8"; logging-data="12711"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+EiJ/IorhX2ONQWrgO6Y8bEHko7mbzEtY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Homepage: http://www.decebal.nl/ Cancel-Lock: sha1:ysD9y9qNo3VS00Tz2StcIlZloL0= sha1:z6juLBP0yfEQHO0kZyuq0nj5GNo= Xref: csiph.com comp.lang.java.programmer:32359 I am busy with implementing JPA. So at the moment I have the following imports: import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; But when I do: mvn clean install I get the error that javax.persistence can not be found. In Eclipse I do not have this problem. I can just do a clean in Eclipse, but it would be nice if I just could work with maven. Anyone an idea what could be the problem and what to do about it? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof