Hi,

If i get it right you want to use spring in tomee? if so you need to NOT
use WEB-INF/beans.xml cause it is a EE descriptor which needs to respect EE
namespace (obviously not the case of spring application contexts ;)).


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2016-08-11 16:01 GMT+02:00 Aruna Kalagnanam <kaar...@gmail.com>:

> Hi All,
>
> I'm trying to migrate a Spring bean web application to run on TomEE+. I
> want to continue to use Spring beans, without introducing JavaEE beans.
>
> I tried the following steps :
>
> 1) Copied the war as-is into the webapps folder of TomEE+. Startup error
> due to "javax.xml.bind.UnmarshalException: unexpected element (uri:"
> http://java.sun.com/xml/ns/javaee";, local:"import")."
>
> 2) Copied openejb-core.jar into WEB-INF/lib; same startup error.
>
> 3) Modified beans.xml to include javaee namespace; same startup error.
>
> Can you point me to documentation references that cover porting a spring
> bean application to TomEE+  or help me with some pointers.
>
> Thanks,
> Aruna.
>

Reply via email to