You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sushila Burgess (Jira)" <ji...@apache.org> on 2022/05/06 10:23:00 UTC

[jira] [Created] (WICKET-6980) Exception net.sf.cglib.proxy.MethodInterceptor not found (wicket-9.3 onwards)

Sushila Burgess created WICKET-6980:
---------------------------------------

             Summary: Exception net.sf.cglib.proxy.MethodInterceptor not found (wicket-9.3 onwards)
                 Key: WICKET-6980
                 URL: https://issues.apache.org/jira/browse/WICKET-6980
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 9.9.1, 9.3.0
         Environment: Java 11, Windows 10 Enterprise, Payara Server 5.201
            Reporter: Sushila Burgess
         Attachments: quickstart_9_0_0.zip, quickstart_9_3_0.zip

This exception did not occur in 9.0.0, was first encountered when trying to upgrade from 9.0.0 to 9.3.0 and is still present in 9.9.1.

It occurs at runtime (running under Payara 5.201) when loading any EJB.

We first came across this exception when attempting database access, but it is not limited to database access, it also occurs with a JavaMail EJB. This means the problem can be reproduced by adding only one short extra file to your quick-start templates. I have created and am attaching two extremely simple quick-start applications, based on your templates for 9.0.0 and 9.3.0. All their Java and HTML source is identical, and essentially the only difference between them is their Wicket version. The 9.0.0 version works fine, and the 9.3.0 version throws the "MethodInterceptor class not found exception" before the home page can even be displayed.

To get the 9.0.0 version working, deploy on Payara 5 and configure a JavaMail session called "mail/GmailSession" with the details of your mail server. A simple form is displayed on the home page, allowing the user to enter their email address. When the form is submitted, a test message is sent to that email address.

 

 

 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)