Окружающая среда
Websphere 8.5.5.11
JDK 1.8
DWR
SpringMVC
Oracle DBMS
Мы недавно обновили наш проект и делаем обновления с
spring.jar,
spring-web.jar,
spring-webmvc.jar
dwr.jar
повышен до
spring version 5.1.7
dwr version 3.0.2
Мы столкнулись с несколькими проблемами
1. DWR servlet didn't get initialized properly; and complains about Duplicate name found while loading the context, and another problem
our web.xml trying to inialize both servlets i.e. DispacterServlet and DwrSpringServlet
2. After removing spring, spring-web and spring-webmvc and upgrading to latest versions;
web project during compilation and loading complains about missing classes;
spcially one of the .forName methods called during DWR inialization i.e.
java.lang.NoSuchMethodError: org.springframework.util.ClassUtils.forName(Ljava.......
3. engine.js not found where it supposed to be i.e. this error being thrown
'You must include DWR engine before including this file'.
Вы можете найти ответы на выше в разделе ответов.