Thursday, September 8, 2022

Re: Spring dependency-check' is not allowed to appear in element 'bean'

You should separate the Spring project and the GWT project... That's the best way so that you could update each projects with their dependencies as you wish. 

Remember GWT projects only need the Jar dependencies in compile / test time. In runtime they are just JavaScript 😀

Here is an example: https://github.com/lofidewanto/stockwatcher/tree/master/stockwatcher-springboot

Hope this helps!
dhia.xd...@gmail.com schrieb am Mittwoch, 10. August 2022 um 15:50:38 UTC+2:
the error is the same as the title

Spring dependency-check' is not allowed to appear in element 'bean'

Le mercredi 10 août 2022 à 15:47:20 UTC+2, iweb Appe a écrit :

I am using a gwt app and when I upgraded spring from 2.X to 5X I get this error when I deploy on jetty

<bean id="demo.sessionFactory"
    class = "org.springframework.oring.hibernate5.LocalSessionFactoryBean"
    abstract="false" lazy-init="defaullt" autowire="default"
    dependency-check="default">
    <property name="hibernateProperties">
        <ref bean="demo.hibernateProperties"/>
    </property>
</bean>

I made sure to change the xsd file version to 2.5 but I still get the error.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/beb405c8-ceb5-4d03-8bac-787b50acfba6n%40googlegroups.com.

No comments:

Post a Comment