Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #32359

Maven does not find javax,persistence

From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.java.programmer
Subject Maven does not find javax,persistence
Date 2015-08-19 12:24 +0200
Organization Decebal Computing
Message-ID <87egizr2yg.fsf@Equus.decebal.nl> (permalink)

Show all headers | View raw


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

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Maven does not find javax,persistence Cecil Westerhof <Cecil@decebal.nl> - 2015-08-19 12:24 +0200
  Re: Maven does not find javax,persistence Cecil Westerhof <Cecil@decebal.nl> - 2015-08-19 14:22 +0200

csiph-web