#29 Compile error

open
nobody
5
2010-02-25
2010-02-25
kaouete
No

Hello, when I try to compile the project from the cyberlink/ directory using "maven package" I get the following error:

/home/victor/code/clinkjava/cyberlink/upnp-stack/src/main/java/org/cybergarage/xml/parser/kXML2Parser.java:[49,23] incompatible types
found : org.kxml2.io.KXmlParser
required: org.cybergarage.xml.parser.XmlPullParser

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-03-15

    Hello,

    the issue is caused by an import collision as "org.cybergarage.xml

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-03-15

    Hello,

    the issue is caused by an import collision between "org.cybergarage.xml.*" and "org.xmlpull.v1.*" which both provide XmlPullParser. Use "org.xmlpull.v1.XmlPullParser" instead of the other one to solve the issue.

    Greetings, Christian

    PS: Sorry for the other post which was accidentally added.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-06-01
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks