babyfish-ct / jimmer

A revolutionary ORM framework for both java and kotlin.
Apache License 2.0
878 stars 89 forks source link

maven进行install的时候报的错 #691

Closed CreaksD closed 1 month ago

CreaksD commented 1 month ago

Cannot invoke "org.babyfish.jimmer.client.meta.TypeName.isPrimitive()" because the return value of "org.babyfish.jimmer.client.meta.impl.TypeRefImpl.getTypeName()" is null

babyfish-ct commented 1 month ago

How to reproduce it? can you give a minimized reproduction package?

babyfish-ct commented 1 month ago

长时间无反馈,关闭

CreaksD commented 1 month ago

同这个错误,但是maven install之后 或者是compile之后就好了

babyfish-ct commented 1 month ago

元数据更新依赖apt/ksp,编译时生成很多辅助数据。

实际开发中,触发apt/ksp最简单的办法,点击Intellij的运行按钮(mvn compile和gradlew build太慢)。所以,如果修改了API原数据,用Intellij再次运行即可