在哪里找到依赖有org.springframework.scripting.Messager?

时间:2016-09-12 11:15:15

标签: java spring maven dependencies maven-3

我正在阅读 Spring Framework参考文档(版本5.0.0.M1),page 70

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.scripting.Messenger;

public final class Boot {

    public static void main(final String[] args) throws Exception {
        ApplicationContext ctx = new ClassPathXmlApplicationContext("scripting/beans.xml");
        Messenger messenger = (Messenger) ctx.getBean("messenger");
        System.out.println(messenger);
    }

}

我尝试添加:

<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-messaging</artifactId>
    <version>4.3.2.RELEASE</version>
</dependency>

enter image description here

但无法解决依赖关系。在哪里找到依赖项有org.springframework.scripting.Messager

0 个答案:

没有答案