-
Notifications
You must be signed in to change notification settings - Fork 38.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<jee:local-slsb>
no longer works with a business-interface
attribute
#31627
Comments
Thanks for the report @sammyhk. This is an oversight on our end as the support for EJB access has been removed in Spring Framework 6. I've updated the upgrade notes and we will use this issue to fix the documentation. If you need to lookup an EJB, please use JNDI directly. |
<jee:local-slsb>
no longer works with a business-interface
attribute
Tried but the XSD marked I think the proper fixed should be mark |
This comment was marked as duplicate.
This comment was marked as duplicate.
I can see that the XSD is outdated on schema.springframework.org and our own test have this error. I am not sure what you mean by "cannot proceed" unless you have enabled XSD validation. You can turn that off for the time being and remove the |
I see, we have some XSD validation in our build time so I haven't proceed the test. Now tested and it works if skipped the XSD validation. |
Alright. For your own purpose here, please move to |
Affects: 6.1.0
When migrate Spring Framework from 5.3.x to 6.1.x, we noticed that <jee:local-slsb/> is not useable.
Using the similar XML configuration as the documentation (https://docs.spring.io/spring-framework/reference/integration/appendix.html#appendix.xsd-schemas-jee-local-slsb-complex)
Causing exception:
When tried to declared as regular bean XML as the documentation mentioned:
resulting
java.lang.ClassNotFoundException
asorg.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean
was removed in Spring Framework 6.xThe text was updated successfully, but these errors were encountered: