Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译错误,请问一下是怎么回事? #4

Open
prlei opened this issue Apr 6, 2018 · 0 comments
Open

编译错误,请问一下是怎么回事? #4

prlei opened this issue Apr 6, 2018 · 0 comments

Comments

@prlei
Copy link

prlei commented Apr 6, 2018

⇒ 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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant