Re: class linkage warnings (in a netbeans platform based app)

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed May 24 2006 - 15:08:00 EDT

  • Next message: Eric Lazarus: "Re: Query Examples Needed � Expression.fromString() syntax?"

    cayenne.jar bundles essential runtime dependencies. Smack and JMS
    libs are needed for the optional extensions (cross-vm messaging via
    XMPP or JMS). You can safely ignore those warnings.

    Andrus

    On May 24, 2006, at 4:58 AM, Tomi NA wrote:

    > In a NetBeans platform app, 3rd party .jars are wrapped in something
    > called module wrappers.
    > cayennne.jar is one of the .jars I wrap and use and I get warnings for
    > all of them, but I believe people here will know how to explain the
    > cayenne related warnings:
    >
    > verify-class-linkage:
    > Warning: org.objectstyle.cayenne.event.XMPPBridge cannot access
    > org.jivesoftware.smack.SSLXMPPConnection
    > Warning: org.objectstyle.cayenne.event.XMPPBridge cannot access
    > org.jivesoftware.smack.XMPPConnection
    > Warning: org.objectstyle.cayenne.event.XMPPBridge cannot access
    > org.jivesoftware.smack.XMPPException
    > Warning: org.objectstyle.cayenne.event.XMPPBridge cannot access
    > org.jivesoftware.smack.GroupChat
    > Warning: org.objectstyle.cayenne.event.XMPPBridge cannot access
    > org.jivesoftware.smack.packet.Message
    > Warning: org.objectstyle.cayenne.util.WebApplicationResourceLocator
    > cannot access javax.servlet.ServletContext
    > Warning: org.apache.log.output.jms.MessageBuilder cannot access
    > javax.jms.JMSException
    > Warning: org.objectstyle.cayenne.conf.BasicServletConfiguration cannot
    > access javax.servlet.http.HttpSession
    > Warning: org.objectstyle.cayenne.conf.BasicServletConfiguration cannot
    > access javax.servlet.ServletContext
    > Warning: org.apache.log.output.jms.TextMessageBuilder cannot access
    > javax.jms.JMSException
    > Warning: org.apache.log.output.jms.TextMessageBuilder cannot access
    > javax.jms.Session
    > Warning: org.apache.log.output.jms.TextMessageBuilder cannot access
    > javax.jms.TextMessage
    > ....
    >
    > Now, my app seems to work fine inspite of the warnings, but I'm
    > curious as to why - when I unpack cayenne.jar I see no e.g.
    > org.jivesoftware.* or javax.jms.* classes. I thought that cayenne.jar
    > bundled all it's dependencies and cayenne-nodeps.jar was a liteweight
    > version.
    >
    > t.n.a.
    >



    This archive was generated by hypermail 2.0.0 : Wed May 24 2006 - 15:08:27 EDT