编译错误,请问一下是怎么回事?
Opened this issue · 0 comments
⇒ 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;