ฉันไม่สามารถเริ่ม Spring Roo ได้ มันไม่ได้เริ่มจากบรรทัด cmd เช่นเดียวกับ STS เมื่อฉันสร้าง "Spring Roo Project" แล้ว Roo Shell จะไม่ปรากฏขึ้นและมีเครื่องหมายข้อผิดพลาดในโครงการ
- ระบบปฏิบัติการ: Windows 7 64 บิต
- JDK: 1.6.0_25 ยัง 64 บิต
ฉันใช้ STS รุ่นล่าสุด แต่ปัญหาเดียวกันนี้เกิดขึ้นกับรุ่น 2.7.1 Roo ที่เป็นรุ่น 1.1.5
นี่เป็นข้อผิดพลาดจากบรรทัดคำสั่งเริ่มต้นขึ้น
20 บรรทัดแรกจากบล็อกข้อผิดพลาดนั้น:
__ERROR: Error starting file:/D:/springsource/spring-roo-1.1.5.RELEASE/bundle/org.springframework.roo.addon.backup-1.1.5.RELEASE.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.addon.backup [7]: Unable to resolve 7.0: missing requirement [7.0] package; (&(package=org.springframework.roo.file.monitor.event)(version>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 39.0: missing requirement [39.0] package; (&(package=org.springframework.roo.support.ant)(version>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 52.0: missing requirement [52.0] package; (package=javax.xml.namespace)]])
org.osgi.framework.BundleException:
Unresolved constraint in bundle org.springframework.roo.addon.backup [7]:
Unable to resolve 7.0: missing requirement [7.0] package;
(&(package=org.springframework.roo.file.monitor.event)(version>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 39.0: missing requirement [39.0] package; (&(package=org.springframework.roo.support.ant)(version>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 52.0: missing requirement [52.0] package; (package=javax.xml.namespace)]]
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3409)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1719)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1148)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)
ERROR: Error starting file:/D:/springsource/spring-roo-1.1.5.RELEASE/bundle/org.springframework.roo.addon.configurable-1.1.5.RELEASE.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.addon.configurable [8]: Unable to resolve 8.0: missing requirement [8.0] package; (&(package=org.springframework.roo.classpath)(version>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 36.0: missing requirement [36.0] package; (&(package=org.springframework.roo.file.monitor)(version>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 39.0: missing requirement [39.0] package; (&(package=org.springframework.roo.support.ant)(version>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 52.0: missing requirement [52.0] package; (package=javax.xml.namespace)]]])
org.osgi.framework.BundleException:
Unresolved constraint in bundle org.springframework.roo.addon.configurable [8]: Unable to resolve 8.0: missing requirement [8.0] package;
(&(package=org.springframework.roo.classpath)(version>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 36.0: missing requirement [36.0] package;
(&(package=org.springframework.roo.file.monitor)(version>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 39.0: missing requirement [39.0] package;
(&(package=org.springframework.roo.support.ant)(version>=1.1.0)(!(version>=2.0.0))) [caused by: Unable to resolve 52.0: missing requirement [52.0] package;
(package=javax.xml.namespace)]]]
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3409)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1719)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1148)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Unknown Source)__
ฉันได้ลองใช้งานไฟล์. bat จากโฟลเดอร์ bin ของ roo ในฐานะผู้ดูแลระบบแล้ว แต่เป็นปัญหาเดียวกัน
ฉันได้ทำตามคำแนะนำในการติดตั้งและจำเป็นต้องใช้ตัวแปรพา ธ ไปยัง roo \ bin เท่านั้น - ไม่ช่วยอะไรมาก
คุณมีความคิดว่าจะแก้ไขได้อย่างไร?