Author | Message |
---|---|
lmann2
Posts: 156
|
Posted 22:15 Jan 29, 2015 |
I can't seem to run mvn package. Sometime maven builds and sometimes it produces this error(I read everything and checked my enviroment variables and my jdk....I cannot figure it out): [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gefp --- |
toramoss
Posts: 13
|
Posted 22:28 Jan 29, 2015 |
I've had a similar issue like that in the past. I found that this link helped me fix the problem: |
plakhan
Posts: 37
|
Posted 22:36 Jan 29, 2015 |
Make sure to use jdk instead of jre ....Follow this Windows -> Preferences - > Java - > Installed JRE's -> Add new standard vm and point it to jdk instead of jre.... May be this will help |
lmann2
Posts: 156
|
Posted 22:46 Jan 29, 2015 |
That worked, I read something like that earlier on stackoverflow, but it didn't make sense to change the JRE to a JDK path. Why does this work? |
plakhan
Posts: 37
|
Posted 22:47 Jan 29, 2015 |
It works because maven uses jdk instead of jre for package build.Thats my guess |
lmann2
Posts: 156
|
Posted 22:55 Jan 29, 2015 |
Lol, fair enough,. |