All Questions
8 questions
0
votes
0
answers
351
views
Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file
getting ths exception, following is dispatcher-servlet.xml and HelloController.java
error.log
INFO: Initializing Spring FrameworkServlet 'dispatcher'
[INFO] FrameworkServlet 'dispatcher': ...
0
votes
1
answer
626
views
Servlet Dispatcher Issue when upgrading to spring 4.1 with xml config
I'm scratching my head.
I've got an application using spring 3.2 xml based config that I'm upgrading to spring 4.X, ideally 4.3.7 (this is to simplify things, as I'm actually also upgrading hibernate,...
0
votes
1
answer
1k
views
Using annotation-driven in Spring 4.2.5.RELEASE
I am following a tutorial written on Spring 4.0.3.RELEASE and I am trying to migrate it to 4.2.5.RELEASE
Cannot locate BeanDefinitionParser for element [annotation-driven]
I tried googling the docs ...
1
vote
2
answers
1k
views
Manually instantiating Spring beans
I'm trying to reuse our Spring-JDBC based DAO classes and code in a project which has a traditional Java (controller) servlet (not Spring's Dispatcher servlet). So as shown below, I tried to launch ...
1
vote
2
answers
2k
views
Controller returning 404 page with void method
I am using Spring 4 to develop a web application.
I have this Controller
@RequestMapping(value = "/submitIdesFalse", method = RequestMethod.POST)
public void setSubmitIdesFalse(Map<String, Object&...
23
votes
1
answer
30k
views
Spring Boot with multiple DispatcherServlet, each having their own @Controllers
Basically I want to split my application into 2 parts. Each part has it's own security stuff and own @Controllers. The @Services should be accessible from both parts.
So I thought, I should get 2 ...
0
votes
1
answer
870
views
Spring4 $ Tiles3 integration: Could not resolve view with name 'home' in servlet with name 'dispatcher'
I am a newbie to Spring, but until know I havent meet any serious problem.
I would like to use some templeate mechanism with spring, so I've pick up Apache Tiles.
I thought that it will be the ...
0
votes
1
answer
2k
views
Why Spring(4) mvc:default-servlet-handler overrides controller mapping?
i am starting an embedded Tomcat 8 and bootstrap the spring application context using an implementation of the WebApplicationInitializer interface. This implementation also add's a DispatcherServlet ...