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

Errors out with incremental compilation #76

Open
marquiswang opened this issue Jan 4, 2024 · 0 comments
Open

Errors out with incremental compilation #76

marquiswang opened this issue Jan 4, 2024 · 0 comments

Comments

@marquiswang
Copy link

Reproduceable by setting up a Maven project using therapi-runtime-javadoc, and then running mvn clean compile compile.

[ERROR] Caused by: javax.annotation.processing.FilerException: Attempt to reopen a file for path /Users/mwang/code/example/target/classes/com/foo/bar/ExampleClass__Javadoc.json
[ERROR]         at jdk.compiler/com.sun.tools.javac.processing.JavacFiler.checkFileReopening(JavacFiler.java:766)
[ERROR]         at jdk.compiler/com.sun.tools.javac.processing.JavacFiler.createResource(JavacFiler.java:543)
[ERROR]         at com.github.therapi.runtimejavadoc.scribe.JavadocAnnotationProcessor.createJavadocResourceFile(JavadocAnnotationProcessor.java:155)
[ERROR]         at com.github.therapi.runtimejavadoc.scribe.JavadocAnnotationProcessor.outputJsonDoc(JavadocAnnotationProcessor.java:144)
[ERROR]         at com.github.therapi.runtimejavadoc.scribe.JavadocAnnotationProcessor.generateJavadocForClass(JavadocAnnotationProcessor.java:138)
[ERROR]         at com.github.therapi.runtimejavadoc.scribe.JavadocAnnotationProcessor.generateJavadoc(JavadocAnnotationProcessor.java:118)
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