"Can't find bundle for base name" error during compile
See original GitHub issuesteps
I added the test file to all 10 projects, added Ethans helpful command, an alias for ;clean;test
and updated the library versions. I run it in this way: time sbt "repeat 1000 testAndClean"
, and it takes about 5-10 minutes sometimes longer on my machine.
https://github.com/kraigmckernan/sbt-5262
problem
[error] /home/kmckernan/git/sbt-5262/p4/src/test/scala/closetest/ATest.scala:6:5: exception during macro expansion:
[error] java.util.MissingResourceException: Can't find bundle for base name org.scalactic.ScalacticBundle, locale en_US
[error] at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1581)
[error] at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1396)
[error] at java.util.ResourceBundle.getBundle(ResourceBundle.java:782)
[error] at org.scalactic.Resources$.resourceBundle$lzycompute(Resources.scala:8)
[error] at org.scalactic.Resources$.resourceBundle(Resources.scala:8)
[error] at org.scalactic.Resources$.pleaseDefineScalacticFillFilePathnameEnvVar(Resources.scala:256)
[error] at org.scalactic.source.PositionMacro$PositionMacroImpl.apply(PositionMacro.scala:65)
[error] at org.scalactic.source.PositionMacro$.genPosition(PositionMacro.scala:85)
[error] 1 should be (1)
[error] ^
expectations
No errors.
note
I don’t think the change to set sbt.classloader.close
to false
by default is a complete fix for this.
Interestingly I was also able to reproduce the problem in sbt 1.3.5
even though there is some custom code for a scalatest classloader.
_Originally posted by @kraigmckernan in https://github.com/sbt/sbt/issues/5262#issuecomment-671418525_
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Can't find bundle for base name /Bundle, locale en_US
When I tried copying this setup across to a new server, I got an error "Caught exception: Can't find base number for bundle...
Read more >Unable to find bundle for base name - CodeRanch
The base name of a resource is NOT a path to that resource. It is a fully qualified class name, as if the...
Read more >Cannot find bundle for base name storeErrorMessages - IBM
Cause. The above error occurs for the following reasons: The storeErrorMessages_en_US.properties file does not exist. When loading the page the ...
Read more >java.util.MissingResourceException: Can't ... - Google Groups
Hi, I get the below error when I browse through the orders from ACC9.0 standalone client on ATG9.0 Weblogic. Please help me, why...
Read more >[#13901] - java.util.MissingResourceException: Can't find ...
MissingResourceException : Can't find bundle for base name ... in Jaspersoft Studio (from Vversion 6.16.0 on) I get the following error:.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That looks working, so far. I am going to monitor the builds for a week, and get back to you.
I’m going to close this issue for now then.