当前位置:网站首页>@Controller @transactional @service annotation is invalid and less dependent

@Controller @transactional @service annotation is invalid and less dependent

2022-06-11 02:59:00 b348858003

@Controller Note invalid ,pom.xml The following dependencies are missing

	<dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-web</artifactId>
        <version>5.1.5.RELEASE</version>
    </dependency>

@Transactional Note invalid ,pom.xml The following dependencies are missing

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-context</artifactId>
        <version>5.1.5.RELEASE</version>
    </dependency>

@Service Note invalid ,pom.xml The following dependencies are missing

	<dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-tx</artifactId>
        <version>5.1.8.RELEASE</version>
    </dependency>

The dependency will take effect after it is added

If I can help you , Please give me some praise below , thank you









Must see the dry goods
link : Except for receiving private orders , Blogging , Outside the tutorial , How programmers use their technology , Make money lying down !

原网站

版权声明
本文为[b348858003]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203020555410021.html