jboss repository (http://repository.jboss.com/maven2/) seems to be the
source of the corrupt guice-2.0.jar. Bypassing it solved the guice
related compile problem for me. Check your maven settings.xml.

Regards,
Márton Salomváry

On Tue, Oct 13, 2009 at 8:37 AM, Viggo Navarsete
<[email protected]> wrote:
> Update: When I look into the guice-2.0.jar which has been download into my
> local repo, I can't find the com/google/inject/tools directory!!
> After some more digging I figured out that our local artitifactory had a
> corrupt version of it. After bypassing it (removing the mirror from my
> settings.xml) it downloaded a good guice-2.0.jar and it seems a bit better.
> But, now it stops at :
>
> /home/viggo/workspace/shindig/shindig-project-1.1-BETA3-incubating/java/gadgets/src/main/java/org/apache/shindig/gadgets/FeedProcessor.java:[53,41]
> cannot access org.jdom.Document
> class file for org.jdom.Document not found
>      SyndFeed feed = new SyndFeedInput().build(new StringReader(feedXml));
>
> I've tried to remove the org/jdom from my local repo in case it was
> corrupted as well, but it still stops on this one. Anyone experienced it??
>
> Regards,
> Viggo
>
>
> On Tue, Oct 13, 2009 at 8:12 AM, Viggo Navarsete
> <[email protected]>wrote:
>
>> Hi Paul, thanks for helping out! (this is part of getting SocialSite up and
>> running on Maven):
>>
>> After removing the com/google directories from my local repo, it downloaded
>> guice 2.0. Btw, guice is not located in /com/google/guice, but in
>> /com/google/code/guice...
>> I'm still having problems, and it complains about missing package
>> com.google.inject.tools.jms. After using jarfinder I figured out that the
>> com.google.inject.tools.jmx package belong to guice 1.0, so this seems to
>> make sense since maven downloaded guice 2.0..
>>
>> here is the output of dependency:list from the java/common project:
>> [INFO] [dependency:list]
>> [INFO]
>> [INFO] The following files have been resolved:
>> [INFO]    aopalliance:aopalliance:jar:1.0:compile
>> [INFO]    cglib:cglib-nodep:jar:2.1_3:test
>> [INFO]    com.google.code.guice:guice:jar:2.0:compile
>> [INFO]    com.google.collections:google-collections:jar:1.0-rc2:compile
>> [INFO]    com.thoughtworks.xstream:xstream:jar:1.3.1:compile
>> [INFO]    commons-beanutils:commons-beanutils:jar:1.6:compile
>> [INFO]    commons-beanutils:commons-beanutils-core:jar:1.7.0:compile
>> [INFO]    commons-betwixt:commons-betwixt:jar:0.8:compile
>> [INFO]    commons-codec:commons-codec:jar:1.3:compile
>> [INFO]    commons-collections:commons-collections:jar:3.2.1:compile
>> [INFO]    commons-digester:commons-digester:jar:1.7:compile
>> [INFO]    commons-fileupload:commons-fileupload:jar:1.2:compile
>> [INFO]    commons-io:commons-io:jar:1.4:compile
>> [INFO]    commons-lang:commons-lang:jar:2.4:compile
>> [INFO]    commons-logging:commons-logging:jar:1.0.4:compile
>> [INFO]    de.odysseus.juel:juel-api:jar:2.1.2:provided
>> [INFO]    de.odysseus.juel:juel-impl:jar:2.1.2:compile
>> [INFO]    javax.servlet:servlet-api:jar:2.4:provided
>> [INFO]    joda-time:joda-time:jar:1.6:compile
>> [INFO]    junit:junit:jar:4.5:test
>> [INFO]    junit-addons:junit-addons:jar:1.4:test
>> [INFO]    net.oauth.core:oauth:jar:20090531:compile
>> [INFO]    net.sf.ehcache:ehcache:jar:1.6.1:compile
>> [INFO]    org.easymock:easymock:jar:2.5.1:test
>> [INFO]    org.easymock:easymockclassextension:jar:2.4:test
>> [INFO]    org.json:json:jar:20070829:compile
>> [INFO]    xerces:xercesImpl:jar:2.9.1:test
>> [INFO]    xerces:xmlParserAPIs:jar:2.6.2:test
>> [INFO]    xml-apis:xml-apis:jar:1.3.04:compile
>> [INFO]    xmlunit:xmlunit:jar:1.2:test
>> [INFO]    xpp3:xpp3_min:jar:1.1.4c:compile
>>
>>
>> I've done these things from the BETA3 tag now, just so you know where to
>> start digging for the errant guice package...
>>
>> Regards,
>> Viggo
>>
>>
>> On Mon, Oct 12, 2009 at 11:58 PM, Paul Lindner <[email protected]> wrote:
>>
>>> Which guice artifacts did you get?
>>> Can you remove guice from your local maven repo
>>> (~/.m2/repository/com/google/guice ...)
>>>
>>> Then if you're still having a problem send the output of dependency:list
>>> and
>>> we'll see if we can track down the errant guice package...
>>>
>>>
>>> On Sun, Oct 11, 2009 at 11:16 PM, Viggo Navarsete <
>>> [email protected]
>>> > wrote:
>>>
>>> > Hi,
>>> >
>>> > I have checked out the following from shindig subversion repo and tried
>>> to
>>> > build it (running mvn install):
>>> >
>>> > ********************************************************************
>>> TRUNK
>>> > ********************************************************************
>>> > [ERROR] BUILD FAILURE
>>> > [INFO]
>>> > ------------------------------------------------------------------------
>>> > [INFO] Compilation failure
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/shindig/java/common/src/main/java/org/apache/shindig/common/servlet/GuiceServletContextListener.java:[27,34]
>>> > package com.google.inject.tools.jmx does not exist
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/shindig/java/common/src/main/java/org/apache/shindig/common/servlet/GuiceServletContextListener.java:[69,8]
>>> > cannot find symbol
>>> > symbol  : variable Manager
>>> > location: class
>>> > org.apache.shindig.common.servlet.GuiceServletContextListener
>>> >
>>> >
>>> > ********************************************************************
>>> > 1.0.x-incubating BRANCH
>>> > ********************************************************************
>>> > [ERROR] BUILD FAILURE
>>> > [INFO]
>>> > ------------------------------------------------------------------------
>>> > [INFO] Compilation failure
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/1.0.x-incubating/java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/caja/CajaHtmlParser.java:[23,31]
>>> > [deprecation] org.apache.xml.serialize.HTMLSerializer in
>>> > org.apache.xml.serialize has been deprecated
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/1.0.x-incubating/java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/caja/CajaHtmlParser.java:[24,31]
>>> > [deprecation] org.apache.xml.serialize.OutputFormat in
>>> > org.apache.xml.serialize has been deprecated
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/1.0.x-incubating/java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/caja/CajaHtmlParser.java:[137,17]
>>> > [deprecation] org.apache.xml.serialize.OutputFormat in
>>> > org.apache.xml.serialize has been deprecated
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/1.0.x-incubating/java/gadgets/src/main/java/org/apache/shindig/gadgets/FeedProcessor.java:[53,41]
>>> > cannot access org.jdom.Document
>>> > class file for org.jdom.Document not found
>>> >      SyndFeed feed = new SyndFeedInput().build(new
>>> StringReader(feedXml));
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/1.0.x-incubating/java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/caja/CajaHtmlParser.java:[137,49]
>>> > [deprecation] org.apache.xml.serialize.OutputFormat in
>>> > org.apache.xml.serialize has been deprecated
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/1.0.x-incubating/java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/caja/CajaHtmlParser.java:[145,6]
>>> > [deprecation] org.apache.xml.serialize.HTMLSerializer in
>>> > org.apache.xml.serialize has been deprecated
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/1.0.x-incubating/java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/caja/CajaHtmlParser.java:[145,38]
>>> > [deprecation] org.apache.xml.serialize.HTMLSerializer in
>>> > org.apache.xml.serialize has been deprecated
>>> >
>>> >
>>> > ********************************************************************
>>> > shindig-project-1.0-incubating TAG
>>> > ********************************************************************
>>> > [ERROR] BUILD FAILURE
>>> > [INFO]
>>> > ------------------------------------------------------------------------
>>> > [INFO] Compilation failure
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/shindig-project-1.0-incubating/java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/caja/CajaHtmlParser.java:[23,31]
>>> > [deprecation] org.apache.xml.serialize.HTMLSerializer in
>>> > org.apache.xml.serialize has been deprecated
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/shindig-project-1.0-incubating/java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/caja/CajaHtmlParser.java:[24,31]
>>> > [deprecation] org.apache.xml.serialize.OutputFormat in
>>> > org.apache.xml.serialize has been deprecated
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/shindig-project-1.0-incubating/java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/caja/CajaHtmlParser.java:[137,17]
>>> > [deprecation] org.apache.xml.serialize.OutputFormat in
>>> > org.apache.xml.serialize has been deprecated
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/shindig-project-1.0-incubating/java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/caja/CajaHtmlParser.java:[137,49]
>>> > [deprecation] org.apache.xml.serialize.OutputFormat in
>>> > org.apache.xml.serialize has been deprecated
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/shindig-project-1.0-incubating/java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/caja/CajaHtmlParser.java:[145,6]
>>> > [deprecation] org.apache.xml.serialize.HTMLSerializer in
>>> > org.apache.xml.serialize has been deprecated
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/shindig-project-1.0-incubating/java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/caja/CajaHtmlParser.java:[145,38]
>>> > [deprecation] org.apache.xml.serialize.HTMLSerializer in
>>> > org.apache.xml.serialize has been deprecated
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/shindig-project-1.0-incubating/java/gadgets/src/main/java/org/apache/shindig/gadgets/FeedProcessor.java:[53,41]
>>> > cannot access org.jdom.Document
>>> > class file for org.jdom.Document not found
>>> >      SyndFeed feed = new SyndFeedInput().build(new
>>> StringReader(feedXml));
>>> >
>>> >
>>> > ********************************************************************
>>> > shindig-project-1.1-BETA1-incubating TAG
>>> > ********************************************************************
>>> > [ERROR] BUILD FAILURE
>>> > [INFO]
>>> > ------------------------------------------------------------------------
>>> > [INFO] Compilation failure
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/shindig-project-1.1-BETA1-incubating/java/common/src/main/java/org/apache/shindig/common/servlet/GuiceServletContextListener.java:[27,34]
>>> > package com.google.inject.tools.jmx does not exist
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/shindig-project-1.1-BETA1-incubating/java/common/src/main/java/org/apache/shindig/common/servlet/GuiceServletContextListener.java:[69,8]
>>> > cannot find symbol
>>> > symbol  : variable Manager
>>> > location: class
>>> > org.apache.shindig.common.servlet.GuiceServletContextListener
>>> >
>>> >
>>> > ********************************************************************
>>> > shindig-project-1.1-BETA2-incubating TAG
>>> > ********************************************************************
>>> > [ERROR] BUILD FAILURE
>>> > [INFO]
>>> > ------------------------------------------------------------------------
>>> > [INFO] Compilation failure
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/shindig-project-1.1-BETA2-incubating/java/common/src/main/java/org/apache/shindig/common/servlet/GuiceServletContextListener.java:[27,34]
>>> > package com.google.inject.tools.jmx does not exist
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/shindig-project-1.1-BETA2-incubating/java/common/src/main/java/org/apache/shindig/common/servlet/GuiceServletContextListener.java:[69,8]
>>> > cannot find symbol
>>> > symbol  : variable Manager
>>> > location: class
>>> > org.apache.shindig.common.servlet.GuiceServletContextListener
>>> >
>>> > ********************************************************************
>>> > shindig-project-1.1-BETA3-incubating TAG
>>> > ********************************************************************
>>> > [ERROR] BUILD FAILURE
>>> > [INFO]
>>> > ------------------------------------------------------------------------
>>> > [INFO] Compilation failure
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/shindig-project-1.1-BETA3-incubating/java/common/src/main/java/org/apache/shindig/common/servlet/GuiceServletContextListener.java:[27,34]
>>> > package com.google.inject.tools.jmx does not exist
>>> >
>>> >
>>> >
>>> /home/viggo/workspace/shindig/shindig-project-1.1-BETA3-incubating/java/common/src/main/java/org/apache/shindig/common/servlet/GuiceServletContextListener.java:[69,8]
>>> > cannot find symbol
>>> > symbol  : variable Manager
>>> > location: class
>>> > org.apache.shindig.common.servlet.GuiceServletContextListener
>>> >
>>> >
>>> > According to the
>>> > http://incubator.apache.org/shindig/developers/java/build.html, it
>>> should
>>> > "just" be a matter of having Java 5 or later and Maven to get started,
>>> but
>>> > since ALL of the versions of Shindig are failing I *must* be doing
>>> > something
>>> > wrong..
>>> >
>>> > My configuration:
>>> > Maven version: 2.0.9
>>> > Java version: 1.6.0_13
>>> >
>>> > Any clue?
>>> >
>>> > Many thanks in advance :)
>>> >
>>> > Best regards,
>>> > Viggo
>>> >
>>>
>>
>>
>

Reply via email to