yujunhao8831 / spring-boot-start-current Goto Github PK
View Code? Open in Web Editor NEWSpring Boot 脚手架 Mybatis Spring Security JWT 权限 Spring Cache + Redis
License: Apache License 2.0
Spring Boot 脚手架 Mybatis Spring Security JWT 权限 Spring Cache + Redis
License: Apache License 2.0
⇒ mvn spring-boot:run [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for com.goblin:goblin-admin-ui:[unknown-version]: Could not find artifact com.goblin:goblin-parent:pom:0.0.1-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 5, column 10 [FATAL] Non-resolvable parent POM for com.goblin:goblin-scheduling:[unknown-version]: Could not find artifact com.goblin:goblin-parent:pom:0.0.1-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 5, column 13 [FATAL] Non-resolvable parent POM for com.goblin:goblin-manage-system:[unknown-version]: Could not find artifact com.goblin:goblin-parent:pom:0.0.1-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 5, column 10 [FATAL] Non-resolvable parent POM for com.goblin:goblin-security:[unknown-version]: Could not find artifact com.goblin:goblin-parent:pom:0.0.1-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 5, column 10 [FATAL] Non-resolvable parent POM for com.goblin:goblin-cache:[unknown-version]: Could not find artifact com.goblin:goblin-parent:pom:0.0.1-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 5, column 10 @ [ERROR] The build could not read 5 projects -> [Help 1] [ERROR] [ERROR] The project com.goblin:goblin-admin-ui:[unknown-version] (/Users/leic/hepbum/temp/javatest/spring-boot-start-current/goblin-admin-ui/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for com.goblin:goblin-admin-ui:[unknown-version]: Could not find artifact com.goblin:goblin-parent:pom:0.0.1-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 5, column 10 -> [Help 2] [ERROR] [ERROR] The project com.goblin:goblin-scheduling:[unknown-version] (/Users/leic/hepbum/temp/javatest/spring-boot-start-current/goblin-scheduling/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for com.goblin:goblin-scheduling:[unknown-version]: Could not find artifact com.goblin:goblin-parent:pom:0.0.1-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 5, column 13 -> [Help 2]
请问一下:goblin.transactional.enabled:true,goblin.transactional在yml没有定义吧? 这个应该怎么理解?比如goblin.transactional我自己的项目要怎么定义?
我在SystemLogServiceImpl看到了@ Transactional注解,这个配置是此方法不纳入事务管理吗?
另:现在用@ RestController,不用MappingJackson2HttpMessageConverter这样的转换器了,直接封装自定义responseBody结果即可,类似:
return new RespEntity(ResponseCode.SUCCESS, sysUser1);
RespEntity:
@Getter @Setter public class RespEntity { private String code; private String msg; private Object data;
spring-boot-start-current/aidijing-basic-config/src/main/java/com/aidijing/config/TransactionalConfig.java
我想配置事务的切点,类似于xml里的这种
<aop:config proxy-target-class="true">
<aop:advisor pointcut="execution(* com.demo.service...(..))" advice-ref="transactionAdvice" />
</aop:config>
目前使用这个配置类TransactionalConfig,访问任何一个service会出现java.sql.SQLException: Connection is closed异常。会不会是因为TransactionalConfig里没有配置事务的切点导致的。希望作者能给解答一下,谢谢
在AService里注入了BService,则BService无法开启事务。请问是什么情况,应该如何配置?
如题.
@configuration
@EnableSwagger2
启用Swagger2Config 后项目起不来了.
还有就是怎么全局保存用户登录信息呢.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.