reset password
Author Message
aarora2
Posts: 15
Posted 19:15 May 05, 2013 |

Hi Prof,

 

I just started doing my homework 4. So I made all the packages. And when I try to run the project and I get 404 error. 

 

The error is " BeanFactory not initialized or already closed - call 'refresh' before accessing "

 

Am I missing something?  

shussain
Posts: 21
Posted 19:22 May 05, 2013 |

I am getting similar kind of error its says "java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext". 

cysun
Posts: 2935
Posted 20:26 May 05, 2013 |

Try cleaning the project and the Tomcat work directory:

  • In Eclipse's Servers view, remove the project from the server.
    • Right click on the server, select Clean Tomcat Work Directory ....
    • Right click on the server, select Clean ....
  • In the Project menu, select Clean... to clean the project.

Then run the project again. If you still get the same error, there's something wrong with your project. Read the error message carefully to see what the problem is.

aarora2
Posts: 15
Posted 22:53 May 05, 2013 |
I still have an error. May be I am missing something or there is some problem in my project. 
 
There is attachment with this reply.
 
cysun wrote:

Try cleaning the project and the Tomcat work directory:

  • In Eclipse's Servers view, remove the project from the server.
    • Right click on the server, select Clean Tomcat Work Directory ....
    • Right click on the server, select Clean ....
  • In the Project menu, select Clean... to clean the project.

Then run the project again. If you still get the same error, there's something wrong with your project. Read the error message carefully to see what the problem is.


Attachments: