You can setup Eclipse to ignore the src/main/resources/jdbc.properties and
hopefully it will read the one in target/classes/jdbc.properties (that has
the parsed values in it). Another solution is to copy
target/classes/jdbc.properties to src/main/resources. If you do this, be
aware that you won't be able to change your database on-the-fly from Maven.

On Mon, Apr 19, 2010 at 3:00 PM, Ben Li <benli3...@gmail.com> wrote:

> Hi All,
>
> I am having a small problem when I run the unit testing inside the Eclipse.
>
> it throws jdbc.property file not found exception.
>
> has anyone have this problem and how can I solve it?
>
> if I run the unit testing using the command line "mvn" it works as
> excepted.
>
> Thanks in advance.
>
>
> My development environment
>
> Eclipse 3.5.2 + m2clipse
> appfuse 2.0.2
>
>
> --
> Ben Li
>

Reply via email to