-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.htmlThe 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
smime.p7s
Description: S/MIME Cryptographic Signature
