Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

MessageBundle problem for using maven test

$
0
0
Hello everyone :

I'm a beginner of maven.

In my project, I have an file "ftp.proterties" only use for ftp config,
not for I18N useage. This file's
Content like :

host=192.168.1.105
port=21
username=jade
password=p [ at ] 55w0rd
<<<<<<<<<<<<<<<<<<<<<<<<<<

When I run the JUnit test in Eclipse, Everything is OK. But when I run
the TestCase with "mvn test"
I get an exception:

Tests in error:
test(jadeutils.ftp.FtpServiceTest): Can't find bundle for base name ftp,
locale en_US
<<<<<<<<<<<<<<<<<<<<<<<<<<

Viewing all articles
Browse latest Browse all 5648

Trending Articles