uP4 requires JDK 1.6.0_26 or later. Looks like that was in the original release notes for 4.0.0 but didn't make it into the README or other notes. I'll get those updated but updating your JDK to the most recent patch release (which is very good practice anyways to avoid JDK related security holes) will fix the problem.

-Eric

On 1/12/12 7:32 PM, Kevin Wilkinson wrote:
We are in the middle of moving our dev instance to a more stable demo instance. Our uPortal src compiles fine on my work station (OSX Lion) but when it is put on our demo server (Solaris 10) it will get a compilation error reguarding the javax.xml.stream.XMLEventFactory class. The newFactory() method cannot be found. After some digging around I've found the reason why its failing; two different APIs.

http://docs.oracle.com/javase/6/docs/api/javax/xml/stream/XMLEventFactory.html

http://woodstox.codehaus.org/javadoc/stax-api/1.0/index.html

The oracle docs have the newFactory() method as well as newInstance() but the woodstox docs only have newInstance(). This makes sense that it is using the woodstox(stax) api and it can't find the newFactory() method.

Why doesn't it default to the api that has the method, why don't these two apis that are describing the same object match, and why isn't this an error on my workstation?

Another reason why this is so odd is that our dev server, which compiled it fine, is the same set up(solaris 10, jdk1.6, mvn 3)

Anyone else encounter this or have suggestion?
-----------------------------
Kevin Wilkinson
Student Affairs IT
University of California, Irvine
(949) 824-0437 <tel:%28949%29%20824-0437>

/Please think of the environment before printing this message./
-----------------------------

--

You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to