Open GoogleCodeExporter opened 9 years ago
建议你进修一下英文
or there's a great website tool name Google Translate.
the output tells you everything.
to fix it, first run this two command:
git config --global user.email
"your.email.better.match.your.heroku.account@gmailforexample.com"
git config --global user.name "your.name"
Original comment by westmin...@gmail.com
on 18 Mar 2013 at 10:35
Issue 167 has been merged into this issue.
Original comment by goknmuse
on 18 Mar 2013 at 12:42
感谢,查了一下,原来还要事先用git设置一下,经过设置已��
�成功上传了。但又出现了新问题,在执行APJP_LOCAL.bat时返回:
D:\apjp-master\APJP_LOCAL_JAVA\src\main\assembly\APJP_LOCAL_JAVA>java -classpath
${APJP_LOCAL_JAVA_NAME}-${APJP_LOCAL_JAVA_VERSION}.jar APJP.Main
错误: 找不到或无法加载主类 APJP.Main
D:\apjp-master\APJP_LOCAL_JAVA\src\main\assembly\APJP_LOCAL_JAVA>pause
请按任意键继续. . .
继续求助。谢谢
Original comment by solalam...@gmail.com
on 21 Mar 2013 at 5:56
看来我还是没成功,我删除了app重新上传,这次又发现push的�
��候出现新错误:
git push heroku master
Counting objects: 45, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (34/34), done.
Writing objects: 100% (45/45), 11.30 KiB, done.
Total 45 (delta 15), reused 0 (delta 0)
-----> Java app detected
-----> Installing OpenJDK 1.6...done
-----> Installing Maven 3.0.3... done
-----> Installing settings.xml... done
-----> executing /app/tmp/repo.git/.cache/.maven/bin/mvn -B -Duser.home=/tmp/bui
ld_lbhr6tm2vv5 -Dmaven.repo.local=/app/tmp/repo.git/.cache/.m2/repository -s /ap
p/tmp/repo.git/.cache/.m2/settings.xml -DskipTests=true clean install
[INFO] Scanning for projects...
Downloading: http://s3pository.heroku.com/jvm/APJP/APJP/1.0.0/APJP-1.0.0.
pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project APJP:APJP_REMOTE_JAVA:1.0.0 (/tmp/build_lbhr6tm2vv5
/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact APJP:APJP:
pom:1.0.0 in centralMirror (http://s3pository.heroku.com/jvm/) and 'parent.relat
ivePath' points at wrong local POM @ line 4, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, ple
ase read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/Project
BuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/Unresol
vableModelException
! Failed to build app with Maven
! Heroku push rejected, failed to compile Java app
To git@heroku.com:sheltered-depths-7***.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:sheltered-depths-7***.git'
Original comment by solalam...@gmail.com
on 21 Mar 2013 at 7:30
Original issue reported on code.google.com by
solalam...@gmail.com
on 18 Mar 2013 at 8:56