Announcement Announcement Module
No announcement yet.
Spring and Eclipse RCP integration Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring and Eclipse RCP integration

    Hi, I am new to spring, iBatis and eclipse RCP, and developing a project of integration.
    When I try to load the applicationContext.xml, using ClassPathXmlApplicationContext, spring does not find the file.
    When I googled, people said that spring does not work with eclipse RCP. Is this true and is there any way?
    Thank you

    public IBatisConnector(){
    try {
    ctx = new ClassPathXmlApplicationContext("/config/applicationContext.xml");
    service = null;
    service = (IService)ctx.getBean("IService");
    } catch (Exception e) {

  • #2
    First of all these are the forums for the Spring Integration subproject of the Spring Framework. (the name is a bit confusing)

    Second of all, there is no reason why Spring wouldn't integrate with Eclipse RCP. From the code sample I think you're trying to point at /config/applicationContext.xml instead of config/applicationContext.xml under the classpath root.