I use Java 1.5.0_15 and Maven 2.0.9. I checked out the current wicket trunk 
(http://svn.apache.org/repos/asf/wicket/trunk) into a fresh new directory. I 
build wicket with

        mvn -Prelease install

And I see the following

INFO  - Application                - [WicketTester$DummyWebApplication] 
destroy: Wicket JMX initializer
INFO  - Application                - [WicketTester$DummyWebApplication] 
destroy: Wicket JMX initializer
ERROR - Initializer                - 
WicketTester$DummyWebApplication-3:type=Application
javax.management.InstanceNotFoundException: 
WicketTester$DummyWebApplication-3:type=Application
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:354)
        at 
com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:527)
        at org.apache.wicket.jmx.Initializer.destroy(Initializer.java:75)
        at org.apache.wicket.Application.callDestroyers(Application.java:789)
        at org.apache.wicket.Application.internalDestroy(Application.java:909)
        at 
org.apache.wicket.protocol.http.WebApplication.internalDestroy(WebApplication.java:499)
        at 
org.apache.wicket.protocol.http.MockWebApplication.destroy(MockWebApplication.java:683)
        at 
org.apache.wicket.examples.hangman.WordGeneratorTest.tearDown(WordGeneratorTest.java:60)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:242)
        at 
org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:216)
        at org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.maven.surefire.SurefireBooter.runTestsInProcess(SurefireBooter.java:313)
        at org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java:221)
        at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:371)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
ERROR - Initializer                - 
WicketTester$DummyWebApplication-3:type=Application,name=ApplicationSettings
javax.management.InstanceNotFoundException: 
WicketTester$DummyWebApplication-3:type=Application,name=ApplicationSettings
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:354)
        at 
com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:527)
        at org.apache.wicket.jmx.Initializer.destroy(Initializer.java:75)
        at org.apache.wicket.Application.callDestroyers(Application.java:789)
        at org.apache.wicket.Application.internalDestroy(Application.java:909)
        at 
org.apache.wicket.protocol.http.WebApplication.internalDestroy(WebApplication.java:499)
        at 
org.apache.wicket.protocol.http.MockWebApplication.destroy(MockWebApplication.java:683)
        at 
org.apache.wicket.examples.hangman.WordGeneratorTest.tearDown(WordGeneratorTest.java:60)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:242)
        at 
org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:216)
        at org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.maven.surefire.SurefireBooter.runTestsInProcess(SurefireBooter.java:313)
        at org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java:221)
        at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:371)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
ERROR - Initializer                - 
WicketTester$DummyWebApplication-3:type=Application,name=DebugSettings
javax.management.InstanceNotFoundException: 
WicketTester$DummyWebApplication-3:type=Application,name=DebugSettings
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:354)
        at 
com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:527)
        at org.apache.wicket.jmx.Initializer.destroy(Initializer.java:75)
        at org.apache.wicket.Application.callDestroyers(Application.java:789)
        at org.apache.wicket.Application.internalDestroy(Application.java:909)
        at 
org.apache.wicket.protocol.http.WebApplication.internalDestroy(WebApplication.java:499)
        at 
org.apache.wicket.protocol.http.MockWebApplication.destroy(MockWebApplication.java:683)
        at 
org.apache.wicket.examples.hangman.WordGeneratorTest.tearDown(WordGeneratorTest.java:60)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)



 

-----Ursprüngliche Nachricht-----
Von: Johan Compagner [mailto:[EMAIL PROTECTED] 
Gesendet: Sonntag, 8. Juni 2008 14:30
An: [email protected]
Betreff: Re: Error in current trunk 1.4

Test all work.. You are building and testing with java 6?
It shoukd be done with 5 for now

On 6/7/08, Stefan Lindner <[EMAIL PROTECTED]> wrote:
> Yes! Of course some tests fail during maven build but that is not 
> unusual for trunk.
>
> -----Ursprüngliche Nachricht-----
> Von: Johan Compagner [mailto:[EMAIL PROTECTED]
> Gesendet: Samstag, 7. Juni 2008 00:50
> An: [email protected]
> Betreff: Re: Error in current trunk 1.4
>
> so you have an exception purely at runtime but it compiles correct?
>
> On Fri, Jun 6, 2008 at 10:17 PM, Stefan Lindner <[EMAIL PROTECTED]> wrote:
>
>> The class AutoLinkResolver has an inner interface in line 510
>>
>>        private static interface ITagReferenceResolver
>>
>> this leads to the following exception when an application is deployed:
>>
>>        ERROR [[/Test]] Exception starting filter Test
>>        java.lang.NoClassDefFoundError:
>> org/apache/wicket/markup/resolver/AutoLinkResolver$ITagReferenceResolver
>>                at
>> org.apache.wicket.protocol.http.WebApplication.internalInit(WebApplic
>> a
>> ti
>> on.java:529)
>>          at
>> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:5
>> 5
>> 8)
>>
>> When I make the interface public the applicatioin gets deployed 
>> correctly.
>>
>> Shall I report a bug or is this already solved by a developer?
>>
>> Stefan
>>
>

Reply via email to