We have documentation how to integrate Wicket with Spring -
https://nightlies.apache.org/wicket/guide/9.x/single.html#_integrating_wicket_with_spring
How to "upgrade" from Spring to Spring-Boot you should advice with Spring
Boot ocumentation.
On Mon, Jan 30, 2023 at 3:04 AM A
Thank you Martin Grigorov.
Is there any document/guide/sample to integrate Apache Wicket framework
with Spring-Boot?
Please share the links
*Thanks And RegardsSibi.ArunachalammCruncher*
On Fri, Jan 20, 2023 at 5:32 PM Martin Grigorov
wrote:
> On Fri, Jan 20, 2023 at 11:16 AM Arunacha
On Fri, Jan 20, 2023 at 11:16 AM Arunachalam Sibisakkaravarthi <
arunacha...@mcruncher.com> wrote:
> Hi guys,
> We develop Wicket + Spring based web applications.
> Now we are working to migrate the Spring framework to Spring Boot. Does
> this require wicket-spring-boot
Hi guys,
We develop Wicket + Spring based web applications.
Now we are working to migrate the Spring framework to Spring Boot. Does
this require wicket-spring-boot migration?
Is it mandatory to migrate Wicket framework to wicket-spring-boot?
*Thanks And RegardsSibi.ArunachalammCruncher*
ow-to-use-the-eclipse-transformer-project-to-convert-a-3rd-party-library
- https://openliberty.io/blog/2021/03/17/eclipse-transformer.html
Martijn
On Wed, Dec 14, 2022 at 10:00 AM Arunachalam Sibisakkaravarthi <
arunacha...@mcruncher.com> wrote:
> Hi all,
> Currently we use Wicket 9
Hi all,
Currently we use Wicket 9.x and Spring 5.x that require javax-servlet-api
4.x.
During upgrade activity found that Spring 6.x requires jakarta-servlet-api
5.x
Now, should I be able to upgrade the Spring framework to the latest 6.x?
*Thanks And RegardsSibi.ArunachalammCruncher*
Hi,
no planned date yet, but we are definitely planning to release version 10
with Spring 6 support. See this other conversation:
https://lists.apache.org/thread/mqdwhjg5x0lcdyfkcjw9p4c000cyrt44
Bye!
On Mon, Oct 24, 2022 at 11:30 AM Muhammad Fakhar Anwar <
fakharan...@hotmail.com> wrote:
Hi,
I hope you are doing well.
We have a project on Wicket 9 and Spring 5 but since Spring 6 is released
therefore, we are working to migrate to it but it seems Wicket 10 will support
Spring 6, correct? If yes, Is there an planned release date for Wicket 10?
Please let me know.
Thanks
Kind
t; On Wed, Oct 19, 2022 at 11:53 PM Greb Lindqvist
> wrote:
>
> > Hello,
> >
> > My organization has several internal apps running with Spring Boot 2.7
> and
> > Wicket 9. We are planning ahead for updating to Spring Boot 3. My
> > understanding is that we&
Hi,
On Wed, Oct 19, 2022 at 11:53 PM Greb Lindqvist
wrote:
> Hello,
>
> My organization has several internal apps running with Spring Boot 2.7 and
> Wicket 9. We are planning ahead for updating to Spring Boot 3. My
> understanding is that we'll need to wait for Wicket 10.
&
Hello,
My organization has several internal apps running with Spring Boot 2.7 and
Wicket 9. We are planning ahead for updating to Spring Boot 3. My
understanding is that we'll need to wait for Wicket 10.
Is there a Wicket Roadmap page? Any guesses for when Wicket 10 milestone
releases
have a more specific question?
**
Martin
ma 26. syysk. 2022 klo 9.40 sundar saba (sundarsabapa...@gmail.com)
kirjoitti:
> Hi all,
>
> I would like to use OAuth2 client credentials grant type
> authentication in my Wicket project. Currently I am using spring security
> in
Hi all,
I would like to use OAuth2 client credentials grant type
authentication in my Wicket project. Currently I am using spring security
in my project. But I already implement REST features from Wicketstuff REST
annotations for internal use. Now I want to create new REST endpoints
Thank you for your advice and help :)
Am 05.04.2022 um 21:54 schrieb Andrea Del Bene:
Also it is worth mentioning that we have an upcoming version (9.9.1)
that has Spring core dependency updated to 5.3.18
On 05/04/22 21:47, Martin Grigorov wrote:
On Tue, Apr 5, 2022, 13:18 kyrindorx wrote
Also it is worth mentioning that we have an upcoming version (9.9.1)
that has Spring core dependency updated to 5.3.18
On 05/04/22 21:47, Martin Grigorov wrote:
On Tue, Apr 5, 2022, 13:18 kyrindorx wrote:
Hi,
Thank you for the first answer of this issue. I have also a question
about https
On Tue, Apr 5, 2022, 13:18 kyrindorx wrote:
> Hi,
>
> Thank you for the first answer of this issue. I have also a question
> about https://github.com/MarcGiffing/wicket-spring-boot and a upgrade of
> spring-beans or spring in general. Do you have good idea upgrade spring
>
Hi,
Thank you for the first answer of this issue. I have also a question
about https://github.com/MarcGiffing/wicket-spring-boot and a upgrade of
spring-beans or spring in general. Do you have good idea upgrade spring
to version 5.2.20, 5.3.18 without an impact with wicket-spring-boot?
I
Hi,
I don't think a normal Wicket application is vulnerable to this attack.
But I recommend you to update Spring in your applications anyway.
On Fri, Apr 1, 2022, 10:21 kyrindorx wrote:
> Hello everyone,
>
> The internet developer community found a bug in
> spring-beans/sprin
Hello everyone,
The internet developer community found a bug in
spring-beans/spring-webmvc on 03/30/2022. I would like to know to what
extent Wicket could be affected for this exploit? I think it should be a
specific behavior with Spring and the servlet engine (Tomcat was used in
the exploit
Hi,
I think there is no release of Wicket-Spring-Boot-Starter for Spring Boot
2.6.
Maybe you have both 2.5.x and 2.6.1 on the classpath. Check with "mvn
dependency:tree"
On Sun, Dec 12, 2021, 09:03 Pranav Kacholia
wrote:
> Hi,
>
> I started the same app with spring boot v
Hi,
I started the same app with spring boot version 2.5.7 and it works fine.
If I change it to 2.6.1 it fails with the above.
On Sat, 11 Dec, 2021, 7:45 pm Andrea Del Bene, wrote:
> Hi,
>
> I've recently started a new project with wicket-spring-boot-starter and
> wicket 9.7.0
Hi,
I've recently started a new project with wicket-spring-boot-starter and
wicket 9.7.0 and everything is fine. I would blame your dependencies on
spring-boot-starter-web and spring-boot-starter-test. I don't have them
in my pom and I don't think you need them. Try to remove
HI,
I am trying to start a new spring boot project with wicket.
Even with no dependencies added and only a basic home page i am facing
errors.
My POM file:-
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-starter-test
test
Thanks Sven,
great. Works.
> Gesendet: Sonntag, 07. März 2021 um 11:58 Uhr
> Von: "Sven Meier"
> An: users@wicket.apache.org
> Betreff: Re: Extend session metadata with user-data-scope after login (spring
> question)
>
> Hi,
>
> Wicket tries to create a
so on.
That scope is provided by a spring bean (UserScopeFinder). This bean is created
in a Configuration as a @Bean.
What i tried so far is add an ISessionListener to WebApplication and inject the
UserScopeFinder.
@com.giffing.wicket.spring.boot.context.extensions.ApplicationInitExtension
pu
Hi,
i would like to extend a session (metadata) with scope of user logged in.
Something like "allowed countries", "allowed companies" and so on.
That scope is provided by a spring bean (UserScopeFinder). This bean is created
in a Configuration as a @Bean.
What i tr
works :) https://github.com/geramaya/wicket-spring-boot-simple
thx for help
Am 13.01.2021 um 20:19 schrieb Martin Grigorov:
In that case you should report it at
https://github.com/MarcGiffing/wicket-spring-boot/issues
On Wed, Jan 13, 2021 at 5:28 PM Daniel Weiss wrote:
Hey all,
I
https://github.com/MarcGiffing/wicket-spring-boot/issues/174
Done. Thx for your help :)
Am 13.01.2021 um 20:19 schrieb Martin Grigorov:
In that case you should report it at
https://github.com/MarcGiffing/wicket-spring-boot/issues
On Wed, Jan 13, 2021 at 5:28 PM Daniel Weiss wrote:
Hey all
In that case you should report it at
https://github.com/MarcGiffing/wicket-spring-boot/issues
On Wed, Jan 13, 2021 at 5:28 PM Daniel Weiss wrote:
> Hey all,
>
> I've tested it. A mini spring-boot provide static content with functions
> of https://www.baeldung.com/spring-mvc-st
Hey all,
I've tested it. A mini spring-boot provide static content with functions
of https://www.baeldung.com/spring-mvc-static-resources. A mini spring
boot app with wicket-spring-boot does not provide it. I got a error
message with not found of ...
Some ideas or experience about it?
Thx :) I have found this, but it doesn't work with my app. My next
should step is to use a clean small spring boot app and spring boot with
the wicket-spring-boot to exclude own bugs with my wonderful program :D
Thx
Daniel
Am 13.01.2021 um 14:52 schrieb Martin Grigorov:
Hi,
There is no
Hi,
There is nothing Wicket specific in this. Just use Spring Boot/MVC
facilities: https://www.baeldung.com/spring-mvc-static-resources
On Wed, Jan 13, 2021 at 3:08 PM Daniel Weiss wrote:
>
> Hi all,
>
> I use https://github.com/MarcGiffing/wicket-spring-boot with Wicket 8.x
Hi all,
I use https://github.com/MarcGiffing/wicket-spring-boot with Wicket 8.x
and with a spring boot application. I would add static web content
(online help page) to provide a documentation inside the spring boot
application.
Knows someone a way to provide to serve static web content
suggest you to generate your application with JHipster and then
>> remove the front-end (Angular/React) and add Wicket instead.
>>
>> On Sun, Dec 8, 2019, 10:02 Per Newgro wrote:
>>
>>> Hello *,
>>>
>>> i try to setup a spring boot project based on
Sun, Dec 8, 2019, 10:02 Per Newgro wrote:
>
>> Hello *,
>>
>> i try to setup a spring boot project based on wicket-spring-boot-parent.
>> To built my frontend assets (sass, js, svg minify etc) i like to use
>> webpack.
>>
>> But if i start my proje
Hi,
I would suggest you to generate your application with JHipster and then
remove the front-end (Angular/React) and add Wicket instead.
On Sun, Dec 8, 2019, 10:02 Per Newgro wrote:
> Hello *,
>
> i try to setup a spring boot project based on wicket-spring-boot-parent.
> To built
Hi again,
some hints I found on stackoverflow:
https://stackoverflow.com/questions/38738587/migrate-frontend-maven-plugin-from-maven-to-gradle
kind regards
Tobias
> Am 08.12.2019 um 09:02 schrieb Per Newgro :
>
> Hello *,
>
> i try to setup a spring boot project based on wic
ieb Per Newgro :
>
> Hello *,
>
> i try to setup a spring boot project based on wicket-spring-boot-parent.
> To built my frontend assets (sass, js, svg minify etc) i like to use webpack.
>
> But if i start my project the assets are not loaded. So i hope to find an
> exa
Hello *,
i try to setup a spring boot project based on wicket-spring-boot-parent.
To built my frontend assets (sass, js, svg minify etc) i like to use webpack.
But if i start my project the assets are not loaded. So i hope to find an
example project,
where i can find some inspirations how i
; available.
>
> (DCEVM i need to inspect :-).)
>
> Thanks for your support.
> Regards
> Per
>
> > Gesendet: Mittwoch, 28. August 2019 um 10:37 Uhr
> > Von: "Martin Grigorov"
> > An: "users@wicket.apache.org"
> > Betreff: Re: Wi
: Mittwoch, 28. August 2019 um 10:37 Uhr
> Von: "Martin Grigorov"
> An: "users@wicket.apache.org"
> Betreff: Re: Wicket Spring boot - use spring devtools
>
> Hi,
>
> This is how Spring Dev Tools work. When it detects a change it removes the
> old applica
Hi,
This is how Spring Dev Tools work. When it detects a change it removes the
old application class loader and creates a new one.
Why this is a problem for you ?
I personally prefer to use DCEVM (https://dcevm.github.io/). It is able to
redefine a specific class in the current class loader
Hello *,
I migrate my current wicket app to spring boot version
(https://github.com/MarcGiffing/wicket-spring-boot).
So far it was straightforward. But now i experience a problem with inclusion of
org.springframework.boot
Not sure if it helps or it is what are you looking for but this is how I do
it.
I have abstract base class that
- sets Wicket application into Spring ApplicationContext
- creates WicketTester
- uses static configuration class to create mocks of required Spring
components in ApplicationContext
that
Have you tried @MockBean from Spring Boot. Alternative with
@ContextConfiguration you can assign configuration classes and export custom
mocks.
Stephan
Von meinem gesendet
Tom Götz schrieb
>We have both, a service layer and a persistence layer (each in it's own maven
We have both, a service layer and a persistence layer (each in it's own maven
module). We use Spring Data Jpa repositories for the persistence layer and
Liquibase for managing DB changes. When testing the Wicket layer I don't want
the complete persistence and service layer to be init
9 at 20:56, "Tom Götz" wrote:
> Hi there,
>
> we have a Spring Boot based webapp (Wicket 8.4 with wicket-spring-boot
> 2.1.6) and would like to create a base test class for our Wicket tests. For
> testing, we would like to mock the service and persistence layer (e.g. with
Hi there,
we have a Spring Boot based webapp (Wicket 8.4 with wicket-spring-boot 2.1.6)
and would like to create a base test class for our Wicket tests. For testing,
we would like to mock the service and persistence layer (e.g. with Mockito). Is
there a good example for that purpose?
Cheers
n().loginPage("/wicket/page/login").loginProcessingUrl("/fake-url")
.and().csrf().disable();
this will redirect to login page in case you are not logged in.
Regarding lack of privileges (roles) that's another story and you should
probably read
Spring
Have you gone through this :
https://ci.apache.org/projects/wicket/guide/8.x/single.html#_extending_the_default_lookup_algorithm
(which seems you have, please show a little code)
And could you tell med howto make Spring redirect to my wicket login page
for all urls except /actuator (which is
> On Thu, Jan 24, 2019 at 4:13 PM nino martinez wael <
> > nino.martinez.w...@gmail.com> wrote:
> >
> > > It sort of works, If I go to the actuator I get the http basic auth,
> if I
> > > on the same session goto my pages.. I get an "ugly" access
2019 at 4:13 PM nino martinez wael <
> nino.martinez.w...@gmail.com> wrote:
>
> > It sort of works, If I go to the actuator I get the http basic auth, if I
> > on the same session goto my pages.. I get an "ugly" access denied page
> and
> > not the configure
e same session goto my pages.. I get an "ugly" access denied page and
> not the configured wicket login page. So it sort of works..
>
> If I just goto localhost:8080/ I get an default spring login page not the
> wicket one.. Upon succesfull login it forwards me to the wicket login
It sort of works, If I go to the actuator I get the http basic auth, if I
on the same session goto my pages.. I get an "ugly" access denied page and
not the configured wicket login page. So it sort of works..
If I just goto localhost:8080/ I get an default spring login page not the
().disable();
> >
> >
> > On Thu, Jan 24, 2019 at 3:06 PM Zbynek Vavros
> > wrote:
> >
> > > Hi,
> > >
> > > I did similar thing, the trick here is to use two
> > > WebSecurityConfigurerAdaptes.
> >
the trick here is to use two
> > WebSecurityConfigurerAdaptes.
> >
> > Zbynek
> >
> > On Thu, Jan 24, 2019 at 2:55 PM nino martinez wael <
> > nino.martinez.w...@gmail.com> wrote:
> >
> > > Hope its okay to use the wicket user mailing list for th
fing for making the project. But I cannot get
> actuator endpoints to work with spring security and wicket spring boot..
> I've tried a lot of things..
>
> IN my WebSecurityConfigurerAdapter:
>
> http
>
>
> .authorizeRequests().antMatchers("/actuator/**",&qu
of all thanks to MarcGiffing for making the project. But I cannot
> get
> > actuator endpoints to work with spring security and wicket spring boot..
> > I've tried a lot of things..
> >
> > IN my WebSecurityConfigurerAdapter:
> >
> > htt
On Thu, Jan 24, 2019 at 3:01 PM Andrea Del Bene
wrote:
> I had a problem with Spring Boot 2 and actuator as many of them are
> disabled by default in the new version. I don't know if this is the case
> for you, but I would try enabling all of them via config file. For example
>
I had a problem with Spring Boot 2 and actuator as many of them are
disabled by default in the new version. I don't know if this is the case
for you, but I would try enabling all of them via config file. For example
with yml is something like:
management:
endpoints:
web:
exp
Hope its okay to use the wicket user mailing list for this:)
First of all thanks to MarcGiffing for making the project. But I cannot get
actuator endpoints to work with spring security and wicket spring boot..
I've tried a lot of things..
IN my WebSecurityConfigurerAdapter:
Have any one tried or seen a ui front that pops up in front of your normal
app if it's not configured?
In pax wicket we have one.. But are not able to find one at the spring
stack?
Regards Nino
thank you for your advice. I will let our architect team investigate such an
integration problem.
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
-
To unsubscribe, e-mail: users-unsubscr...@wic
Op 10 september 2018 bij 20:01:31, extraquoo (extraq...@gmail.com) schreef:
the purpose is the clients want to reuse an existing wicket html page for
some enhancement in a spring mvc flow of business. br/>I am ttrying three
ways "redirect:../[url]" , "redirect:[url]" and
the purpose is the clients want to reuse an existing wicket html page for
some enhancement in a spring mvc flow of business.
I am trying three ways "redirect:../[url]" , "redirect:[url]" and "/[url]"
.The first two just kicks me out and return to the application home
Hi!
I’m not sure why wicket is wrapping a spring exception. Sounds like wicket
is not handling the request, but passing it on to spring.
I don’t use spring on a daily basis, but from what I read you should be
using a “redirect:[url]”-style model and view.
Which login page is shown? Your
Thanks for your answer.
The panel class has its HTML file and it is mounting in the startup
initialization
mountBookmarkablePage("/CaseVerificationUpload.html",CaseVerificationUploadsPage.class);
when I am using
return new ModelAndView("redirect:../CaseVerificationUpload.html")
then the applica
just correct that the panel class is CaseVerificationUploadsPanel
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional com
Hi!
Wicket and Spring have different render cycles, so if you want to redirect
from spring to a wicket panel, you’ll need to put the wicket panel in a
page and expose that page on a public url by mounting it.
That wicket page can then take url parameters (either path or query
params), which you
Hi
my project is implemented by two frameworks: spring web flow and wicket.
Now in one of the spring controller, I want to the spring ModelAndView
redirects to an existing wicket panel class.
the code of spring controller is below :
protected ModelAndView onSubmit(HttpServletRequest request
Hi,
On Fri, Jul 20, 2018 at 10:13 AM kyrindorx wrote:
>
> Hi,
>
> I have to run a wicket app in the Servlet Context / Path "/*". I want to
> use Spring MVC with Rest on "/api/*".
>
You will need to use "ignorePaths" parameter on WicketFilter t
Hi,
I have to run a wicket app in the Servlet Context / Path "/*". I want to
use Spring MVC with Rest on "/api/*".
I found the WicketSessionFilter and some infos about it, but I can't see
a way to delegate into the Spring DispatcherServlet with "/*" bin
ur service method in the Wicket component
tree, e.g. by using a LoadableDetachableModel.
Have fun
Sven
Am 21.06.2018 um 13:26 schrieb m.xinu:
I manually create the Spring context, which is ClassPathXmlApplicationContext,
and pass it to Wicket application by calling
getComponentInstantia
mbda
... or don't keep the result of your service method in the Wicket component
tree, e.g. by using a LoadableDetachableModel.
Have fun
Sven
Am 21.06.2018 um 13:26 schrieb m.xinu:
> I manually create the Spring context, which is
> ClassPathXmlApplication
2/how-to-serialize-a-lambda
... or don't keep the result of your service method in the Wicket component
tree, e.g. by using a LoadableDetachableModel.
Have fun
Sven
Am 21.06.2018 um 13:26 schrieb m.xinu:
I manually create the Spring context, which is ClassPathXmlApplicationContext,
a
That's strange. Could you show the full exception stack trace?
On Thu, Jun 21, 2018 at 1:26 PM, m.xinu
wrote:
> I manually create the Spring context, which is
> ClassPathXmlApplicationContext, and pass it to Wicket application by
> calling
>
> getComponentInstantiatio
I manually create the Spring context, which is ClassPathXmlApplicationContext,
and pass it to Wicket application by calling
getComponentInstantiationListeners().add(new SpringComponentInjector(this,
MyApp.get().getApplicationContext())).
Then, In my panel I have this
private class
I think you are keeping a reference to your Spring bean in a page or in a
component, that's why Wicket is trying to serialize it. Are you injecting
this bean with @SpringBean annotation?
On Thu, Jun 21, 2018 at 12:45 PM, m.xinu
wrote:
> Thanks for your reply.
>
> Both of your prop
Thanks for your reply.
Both of your proposed solutions mean using other interfaces in the Lambda
expressions. However most of my Lambda definitions are in my Service tier
classes (Spring beans), and the Service tier must be independent from the Web
tier, and the force of Wicket serialization
t;
>> I'm using Apache Wicket 7.9.0 alongside Spring 5.0.5.RELEASE. In one of
>> my beans, I call some stream API containing multiple lambda expressions.
>> During that page execution, I get following exception:
>>
>> Caused by: java.io.NotSerializableException:
>>
20, 2018, 22:42 m.xinu wrote:
> Hi,
>
> I'm using Apache Wicket 7.9.0 alongside Spring 5.0.5.RELEASE. In one of my
> beans, I call some stream API containing multiple lambda expressions.
> During that page execution, I get following exception:
>
> Caused by: java.i
Hi,
I'm using Apache Wicket 7.9.0 alongside Spring 5.0.5.RELEASE. In one of my
beans, I call some stream API containing multiple lambda expressions. During
that page execution, I get following exception:
Caused by: java.io.NotSerializableExce
Hi Tom
Please have a look at this project I did
https://github.com/dmbeer/wicket-7-spring-security
>From what I remember the process is pretty much as Martin says. If you look
through the archives I am sure you will find my explanation.
Thanks
David
On 19 April 2018 at 06:39, Martin Grigo
Hi Tom,
I do not remember everything by heart but basically it is:
1. Provide impl of Spring Security's UserDetailsService and make it a @Bean
2. In your AuthenticatedWebSession#authenticate() impl use Spring
Security's Authentication to do the work. It was some
Hi!
Does anyone have a working example for an integration of Spring Security and
wicket-auth-roles? We currently use Wicket 7.9.0 and Spring Boot 2.x …
We’d like to authenticate users via a login form (SignInPanel) and also use a
„remember me“ cookie based authentication.
Anyone?
Cheers
tion or mimic it.
> The scheme is that AuthenticatedWebApplication decides first (according to
> role annotations) if users are loggedIn or not, I mean that URL protection
> is not made by PACJ4. It might be different with Spring boot.
> The project depends on Wicket 8 but it can be
a Pac4jRequestCycleListener in your web.xml or
equivalent, then use the Pac4jApplication or mimic it.
The scheme is that AuthenticatedWebApplication decides first (according to
role annotations) if users are loggedIn or not, I mean that URL protection
is not made by PACJ4. It might be different with
Hello,
i would like to replace my local (db-based) login with OAuth Provider
Google.
But so far i could not implement a working solution. The app is
registered at Google.
Client secret and ID are present. But i can not find an example how to
integrate everything in my Wicket App.
Is some
("openEntityManagerInView");
registration.addUrlPatterns("/*");
return registration;
}
If some1 else looks for this.
Cheers
Per
Am 23.03.2018 um 19:47 schrieb Per Newgro:
Hello,
we would like to use the open-entitymanager-in-view pattern. It was
working in our &q
Hello,
we would like to use the open-entitymanager-in-view pattern. It was
working in our "old fashioned" spring application by configuring filter
in web.xml.
But we can not find the appropriate config for wicket spring boot.
Enable spring.jpa.open-entitymanager-in-view=true seems
http://git-wip-us.apache.org/repos/asf/wicket/commit/a95c5982
Thank you !
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Jun 20, 2017 at 3:24 PM, ansc wrote:
> and
>
>
> org.springframework.boot
> spring-boot-st
and
org.springframework.boot
spring-boot-starter-websocket
has to be added to pom
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-tp4678080p4678113.html
Sent from the Users forum
I found the reason of my problem. By using Spring Boot it is necessary to set
the WicketFilter
@Bean
public FilterRegistrationBean wicketFilter() {
final FilterRegistrationBean wicketFilter = new
FilterRegistrationBean();
wicketFilter.setDispatcherTypes
n context: http://apache-wicket.1842946.
> n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-
> tp4678080p4678110.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To un
I tried with packaging as war instead fat jar, but I get the same 404 error.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-tp4678080p4678110.html
Sent from the Users forum mailing list archive at Nabble.com
Try without fat jar, e.g. mvn spring-boot:run or in the IDE.
There are many bug reports in Spring Boot that fat jars do not behave like
normal .war.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Jun 20, 2017 at 10:31 AM, ansc wrote:
> Yes tomcat-em
Yes tomcat-embed-websocket-8.5.15.jar is in the spring boot fat jar
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-tp4678080p4678101.html
Sent from the Users forum mailing list archive at Nabble.com
a springboot
> project:
>
> 1) filter changed to
> „org.apache.wicket.protocol.ws.javax.JavaxWebSocketFilter“
>
> 2) added „add(new WebSocketBehavior() {});“ to page
>
> 3) pom:
> 1.8
> 8.5.15
> 7.7.0
> ...
>
> org.springframework.boot
>
I just tried to switch to "wicket native websockets" in a springboot project:
1) filter changed to
„org.apache.wicket.protocol.ws.javax.JavaxWebSocketFilter“
2) added „add(new WebSocketBehavior() {});“ to page
3) pom:
1.8
8.5.15
7.7.0
...
org.springframework.boot
s
2) added „add(new WebSocketBehavior() {});“ to page
3)
1.8
8.5.15
7.7.0
...
org.springframework.boot
spring-boot-starter parent
1.4.2.RELEASE
...
org.apache.wicket
wicket-native-websocket-javax
${wicket.version}
5)
@SpringBootApplication(exclude = {ErrorMvcAutoConfiguration.c
1 - 100 of 1411 matches
Mail list logo