目录
os.detected.classifier报红
idea: Unable to parse template "class"
Spring Boot Application in default package
具体提示信息:
Could not find artifact com.google.protobuf:protoc:exe:${os.detected.classifier}:3.3.0 in
解决方案:
看build标签的最后,加的就是这个东西
org.xolstice.maven.plugins protobuf-maven-plugin 0.6.1 com.google.protobuf:protoc:3.3.0:exe:${os.detected.classifier} grpc-java io.grpc:protoc-gen-grpc-java:1.6.1:exe:${os.detected.classifier} src/main/proto src/main/java false compile compile-custom kr.motd.maven os-maven-plugin 1.6.2
无法解析class模板
网上一般都是选择模板的时候默认好像是text文件了,通过setting -> file type,找到对应的text类型的文件,拉到最后面就会看到你创建的文件名,删掉即可
而我出现的这个报错的原因是加了一个撒刁插件,害得我找了半天原因
把类的位置改一下就可以了