-
Hello, I have a project with several modules that use the
I get:
In the directory {
"value": [
"ref:0a0d0102:/home/hmf/VSCodeProjects/aiops/simulation/resources"
],
"valueHash": 919644686,
"inputsHash": 132564807
} The command:
Gives me:
But the code:
always returns a How can I check that my set-up is correct? I am using Mill EDIT: Version TIA. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Out of memory, I'm not sure, the resource path will ever be valid if it starts with a dot ("./"). Also, if the path isn't absolute, it is relative to the package of the class. So unless Resources are not put into |
Beta Was this translation helpful? Give feedback.
Out of memory, I'm not sure, the resource path will ever be valid if it starts with a dot ("./"). Also, if the path isn't absolute, it is relative to the package of the class. So unless
classOfChart
is in the default package, you may want to try an absolute path:classOfChart.getResource("/data/ChartPerformanceBenchmark25Hz_V8.1.1_JDK8u112.csv")
, as the resources are put into the top of the archive (or when speaking about packages in the classpath: into the default package).Resources are not put into
out/<..>/compile.dest
. Instead they are added to the classpath or packaged into the jar, depending whether you userun
orjar
target.