
| Key: |
UP-1071
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Brad Johnson
|
| Votes: |
0
|
| Watchers: |
1
|
|
If you were logged in you would be able to see more operations.
|
|
|
uPortal
Created: 13/May/05 12:24 PM
Updated: 03/Jul/07 04:11 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
2.5.0 RC1
|
| Fix Version/s: |
2.5.0 RC2
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
|
If you try to compile uPortal 2.5 with a stock JDK 1.4 you'll get a bunch of errors starting with:
==================
compile:
[mkdir] Created dir: /home/jjohnson/ws2/portal_head/build/WEB-INF/classes
[javac] Compiling 836 source files to /home/jjohnson/ws2/portal_head/build/WEB-INF/classes
[javac] /home/jjohnson/ws2/portal_head/source/org/jasig/portal/ChannelRegistryManager.java:12: package javax.xml.xpath does not exist
[javac] import javax.xml.xpath.XPath;
[javac] ^
[javac] /home/jjohnson/ws2/portal_head/source/org/jasig/portal/ChannelRegistryManager.java:13: package javax.xml.xpath does not exist
[javac] import javax.xml.xpath.XPathConstants;
[javac] ^
[javac] /home/jjohnson/ws2/portal_head/source/org/jasig/portal/ChannelRegistryManager.java:14: package javax.xml.xpath does not exist
[javac] import javax.xml.xpath.XPathExpressionException;
... they keep going...
==================
We need to give a helpful error message in this case. I think this will be a very common problem that users will have to email the mailing list and waste alot of time trying to diagnose.
We need our build.xml to run a small test to make sure the required JAXP libraries are avaliable, and if not print a very nice error message and a link to more information on the Ja-Sig Wiki.
|
|
Description
|
If you try to compile uPortal 2.5 with a stock JDK 1.4 you'll get a bunch of errors starting with:
==================
compile:
[mkdir] Created dir: /home/jjohnson/ws2/portal_head/build/WEB-INF/classes
[javac] Compiling 836 source files to /home/jjohnson/ws2/portal_head/build/WEB-INF/classes
[javac] /home/jjohnson/ws2/portal_head/source/org/jasig/portal/ChannelRegistryManager.java:12: package javax.xml.xpath does not exist
[javac] import javax.xml.xpath.XPath;
[javac] ^
[javac] /home/jjohnson/ws2/portal_head/source/org/jasig/portal/ChannelRegistryManager.java:13: package javax.xml.xpath does not exist
[javac] import javax.xml.xpath.XPathConstants;
[javac] ^
[javac] /home/jjohnson/ws2/portal_head/source/org/jasig/portal/ChannelRegistryManager.java:14: package javax.xml.xpath does not exist
[javac] import javax.xml.xpath.XPathExpressionException;
... they keep going...
==================
We need to give a helpful error message in this case. I think this will be a very common problem that users will have to email the mailing list and waste alot of time trying to diagnose.
We need our build.xml to run a small test to make sure the required JAXP libraries are avaliable, and if not print a very nice error message and a link to more information on the Ja-Sig Wiki. |
Show » |
|
prepare:
[java] java.lang.ClassNotFoundException: javax.xml.xpath.XPathConstants
[java] The missing class is provided as part of JAXP.
[java] Check that you have the JAXP jars installed in your JDK.
[java] For more information see http://jasigch.princeton.edu:9000/display/UPC/2.5