The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by hunter]

I am trying to adapt some of the sample code to see if I can understand it
better...

When trying to run a tag based off of IterateTag, I get an exception thrown
saying that the ResourceBundle class can't load some resource specified by
LocalStrings...

It says:

Can't find bundle for base name test.tags.LocalStrings, locale en_US

I have a LocalStrings.properties file in test/tags/...

Any ideas? I am using Tomcat 4.0.
import-bot (20211) [Avatar] Offline
#2
Re: LocalStrings: Can't find bundle for base name...
[Originally posted by hunter]

Okay, I solved the above... It was a mistake in my ant configuration...

But now I have another problem...

I get another exception:

Can't find resource for bundle java.util.PropertyResourceBundle, key
NO_SUCH_OBJECT

The exception is coming from:

java.util.ResourceBundle.getObject()
java.util.ResourceBundle.getString()
test.tags.LocalStrings.getStr()

I'm going to dig deeper but if anyone has any insight, I would appreciate it.