Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not resolve depend encies for project com.dragonzone:JsSamplerApp:war:1.0-SNAPSHOT #1

Open
hoyeunglee opened this issue Sep 6, 2016 · 1 comment

Comments

@hoyeunglee
Copy link

hoyeunglee commented Sep 6, 2016

rimefaces-5.2.jar (3195 KB at 221.0 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.293 s
[INFO] Finished at: 2016-09-06T07:32:06+00:00
[INFO] Final Memory: 12M/247M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project JsSamplerApp: Could not resolve depend
encies for project com.dragonzone:JsSamplerApp:war:1.0-SNAPSHOT: Could not find
artifact org.primefaces.themes:bootstrap:jar:1.0.10 in prime-repo (http://reposi
tory.primefaces.org) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException

set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_55
set path=C:\Program Files (x86)\Java\jdk1.7.0_55\bin;C:\Users\dummy\Downloads\apache-maven-3.3.9-bin\apache-maven-3.3.9\bin;%path%
set PORT=%1

if "" == "%PORT%" set PORT=7555

set JAVA_MEM=-Xms256m -Xmx512m
set TIMEZONE=-Duser.timezone=GMT+00:00
@Rem set TEMP_DIR=-Djava.io.tmpdir=C:\Users\dummy\Downloads\JsSamplerApp-master\tmp
set MAVEN_OPTS=%JAVA_MEM% %TIMEZONE% %TEMP_DIR% -Djava.net.preferIPv4Stack=true -Xdebug -Xnoagent -Dmaven.test.skip=true -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=80 -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=%PORT%,server=y,suspend=n
@echo First argument must be the DEBUG port which is currently: %PORT%
@echo Use -o argument to run off-line: jetty_debug.bat %PORT% -o
@echo Use clean to do a clean build: jetty_debug.bat %PORT% clean
@call mvn %1 %2 jetty:run

moreover, where is the html that can be edited ?
because would like to change nodes and edges with own one

@abcbaby
Copy link
Owner

abcbaby commented Sep 6, 2016

I just tried the script & it worked fine. You may want to run "mvn clean" first, then 'jetty_debug.bat' after that. Otherwise, you may have firewall blocking these required jars (below).

https://mvnrepository.com/artifact/org.primefaces/primefaces/5.2
http://repository.primefaces.org/org/primefaces/themes/bootstrap/1.0.10/

Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants