Issue: "Content is not allowed in Prolog"

23 views
Skip to first unread message

Isaac Li

unread,
Jan 22, 2019, 2:59:48 AM1/22/19
to cas-...@apereo.org
Hello,

Today when I do git clone g...@github.com:apereo/cas-overlay-template.git and run: "gradlew clean build"


F:\John\Code\CAS\cas-overlay-template>gradlew clean build

> Task :bootWar
[Fatal Error] commons-parent-42.pom:2:1: 前言中不允许有内容。  (I believe it's said "Content is not allowed in Prolog" )
[Fatal Error] commons-parent-42.pom:2:1: 前言中不允许有内容。

BUILD SUCCESSFUL in 50s
2 actionable tasks: 1 executed, 1 up-to-date
<-------------> 0% WAITING
> IDLE


John

Isaac Li

unread,
Jan 22, 2019, 8:42:15 PM1/22/19
to cas-...@apereo.org
Today I ask my colleage for help to build, there is no error.  I think it's problem of my work environment.

Ray Bon

unread,
Jan 23, 2019, 11:44:41 AM1/23/19
to cas-...@apereo.org
Isaac,

If you are doing a clone then immediate build, you are working off master. It requires jdk 11. Open JDK 11 works.

Ray
-- 
Ray Bon
Programmer analyst
Development Services, University Systems
2507218831 | CLE 019 | rb...@uvic.ca

Isaac Li

unread,
Jan 24, 2019, 2:37:27 AM1/24/19
to cas-...@apereo.org
Ray,

I'm using Open JDK 11.

F:\John\Code\CAS\cas-overlay-template>java -version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

F:\John\Code\CAS\cas-overlay-template>gradlew clean build
Starting a Gradle Daemon (subsequent builds will be faster)

> Task :bootWar
[Fatal Error] commons-parent-42.pom:2:1: 前言中不允许有内容。
[Fatal Error] commons-parent-42.pom:2:1: 前言中不允许有内容。

BUILD SUCCESSFUL in 26m 35s
2 actionable tasks: 2 executed
<-------------> 0% WAITING
> IDLE
> IDLE


--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/1548261876.3605.79.camel%40uvic.ca.
Reply all
Reply to author
Forward
0 new messages