Hi all,

I recently had to convert to weblogic 10.3 to run my project. I'd like to
use its "fast swap" feature to get rid of constant redeploys while
developing. Now, without fast swap, everything works fine.

My project includes the StaticImage class proposed on this forum. The method
that gives me trouble when I turn fast swap on is:
protected void onComponentTag(ComponentTag tag){
        super.onComponentTag(tag);
        checkComponentTag(tag, "img");
        tag.put("src", getDefaultModelObjectAsString());
    }

On deploying with fast swap, I get: 

]] Root cause of ServletException.
java.lang.IllegalAccessError: tried to access method
org.apache.wicket.Component.checkComponentTag(Lorg/apache/wicket/markup/ComponentTag;Ljava/lang/String;)V
from class [project path to].StaticImage$beaVersion0_78
        at
edu.odu.midas.wicket.util.StaticImage$beaVersion0_78.onComponentTag(StaticImage.java:33)
        at 
edu.odu.midas.wicket.util.StaticImage.onComponentTag(StaticImage.java)
        at org.apache.wicket.Component.renderComponent(Component.java:2657)
        at
org.apache.wicket.markup.html.WebComponent.onRender(WebComponent.java:62)
        at [project path to].StaticImage.onRender(StaticImage.java)

I can take the line "checkComponentTag" out, then it works.

Any ideas?

Thanks,
Natalie 
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/StaticImage-Weblogic-10-3-and-fast-swap-tp2720033p2720033.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to