Closed
Description
System information
- Windows WSL2 Linux, Ubuntu
- Tensorflow from maven artifacts:
- TensorFlow version:
- Java version 21
- Installed from Maven Central? Yes and OSS sonatype
When I tried to upgrade to 1.0.0.rc-1 I get src/main/java/module-info.java:[4,17] module not found: org.tensorflow
Provide the exact sequence of commands / steps that you executed before running into the problem
I have a working pom.xml with the dependency.
<dependency>
<groupId>org.tensorflow</groupId>
<artifactId>tensorflow-core-platform-gpu</artifactId>
<version>0.5.0</version>
</dependency>
I wanted to switch to the 1.0.0 release candidate by following the github page.
<dependency>
<groupId>org.tensorflow</groupId>
<artifactId>tensorflow-core-api</artifactId>
<version>1.0.0-rc.1</version>
</dependency>
<dependency>
<groupId>org.tensorflow</groupId>
<artifactId>tensorflow-core-native</artifactId>
<version>1.0.0-rc.1</version>
<classifier>linux-x86_64</classifier>
</dependency>
Then my module-info.java causes an error and the project doesn't compile.
src/main/java/module-info.java:[4,17] module not found: org.tensorflow
I could setup a complete source code + pom.xml to reproduce the problem. Maybe this problem is simpler than that though, and I am using the wrong dependencies.
Metadata
Metadata
Assignees
Labels
No labels