Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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': ...
SIDDHARTH KSHIRSAGAR's user avatar
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,...
witchedwiz's user avatar
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 ...
user avatar
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 ...
Say No To Censorship's user avatar
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&...
José Mendes's user avatar
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 ...
Benjamin M's user avatar
  • 24.5k
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 ...
masterdany88's user avatar
  • 5,311
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 ...
cav's user avatar
  • 47