Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Pro Spring 3, SpringBlog error in WEB-INF, Build path is incomplete  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I downloaded the zip for the sample app (SpringBlog) from the book Pro Spring 3, from https://github.com/prospring3/springblog, and imported it to Spring Tool Suite, and a get errors like
"Build path is incomplete. Cannot find class file for ..." in the xml files for ex. for <bean class="com.apress.prospring3.springblog.batch.integration.FileMessageToJobRequest"> , please tell me what's wrong ?
 
author & internet detective
Marshal
Posts: 38366
645
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Monique,
Welcome to CodeRanch!

Does Spring Tool Suite recognize it as a Maven project? When you right click the project, can you do run as > maven install? Can you post the end of the output from the console when you do that?
 
Monique Johnson
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, it recognizes it

after maven install:


and the error I mentioned disappeared after maven->update project, but there is now a list of warnings and I suppose tomcat can't start because of them.The majority of warnings are in WEB-INF, like



Here are a few others

 
Water proof donuts! Eat them while reading this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!