MarcGiffing / wicket-spring-boot

Spring Boot starter for Apache Wicket
151 stars 61 forks source link

Upgrade to Wicket v9 M3 #160

Closed mmoayyed closed 4 years ago

mmoayyed commented 4 years ago

Closes https://github.com/MarcGiffing/wicket-spring-boot/issues/159

mmoayyed commented 4 years ago

Updated the pull request here to address comments. Please resume, as time allows.

mmoayyed commented 4 years ago

Thanks very much!

Do you think you might be able to cut a milestone or RC type of release, so that I can pull it down with Maven and resume testing with Apache Syncope?

ilgrosso commented 4 years ago

Do you think you might be able to cut a milestone or RC type of release, so that I can pull it down with Maven and resume testing with Apache Syncope?

@mmoayyed even a SNAPSHOT would be fine, as we'll use that in Syncope master branch.

MarcGiffing commented 4 years ago

If I call a page when running the example project I get an exception:

2019-10-03 13:26:09.115 ERROR 13524 --- [nio-8080-exec-3] o.a.w.util.listener.ListenerCollection : Error invoking listener: org.apache.wicket.Application$2@2dabf8cd

java.lang.IllegalStateException: Store with key 'wicket-filter:DiskPageStore' already exists. at org.apache.wicket.pageStore.AbstractPersistentPageStore.(AbstractPersistentPageStore.java:59) at org.apache.wicket.pageStore.DiskPageStore.(DiskPageStore.java:113) at org.apache.wicket.pageStore.DiskPageStore.(DiskPageStore.java:95) at org.apache.wicket.DefaultPageManagerProvider.newPersistentStore(DefaultPageManagerProvider.java:205) at org.apache.wicket.DefaultPageManagerProvider.get(DefaultPageManagerProvider.java:98) at org.apache.wicket.DefaultPageManagerProvider.get(DefaultPageManagerProvider.java:80) at org.apache.wicket.Application.internalGetPageManager(Application.java:1361) at org.apache.wicket.Application$2.onDetach(Application.java:1572)

mmoayyed commented 4 years ago

Here is what I did with JDK 11:

cd wicket-spring-boot-starter-example
mvn spring-boot:run

Then browse http://localhost:8081 and navigate around the app, clicking here and there.

image

image

What should I be using to test this better?

MarcGiffing commented 4 years ago

You're right. Seems to be a problem with my IDE.