I think you are missing semi colons at the end of the java:import lines (as
it is just normal java from a compilers point of view).

On 1/26/06, Nicolas Andrieux <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
>
>
>
> I'm trying to write function, using <java:functions>, but i've got a
> problem when i want to use some class.
>
> I'm doing something like this :
>
>
>
>
>
>
>
> [...]
>
> <java:import>
>
> etechnicien.dao.cpDaoReference.DaoReferenceFactory
>
> </java:import>
>
> <java:import>
>
> etechnicien.dao.cpDaoReference.DaoReference
>
> </java:import>
>
> <java:import>
>
> etechnicien.dao.cpDaoReference.DaoReferenceImp
>
> </java:import>
>
>
>
>
>
>
>
> <java:functions>public static boolean checkReference(int id_ref,String
> Champ){
>
> DaoReferenceFactory oDaoReference = DaoReferenceFactory.getReference();
>
>
>
>
> [...]
>
> }
>
> </java:functions>
>
>
>
>
>
>
>
> [...]
>
>
>
>
>
>
>
>
>
>
>
>
>
> When i try to instantiate a RuleBase with :
>
>
>
>
> base = RuleBaseLoader.loadFromInputStream(new java.io.ByteArrayInputStream
> (myRules.getBytes()));
>
>
>
>
>
>
>
> I've got a, exception : error constructing import
>
>
>
>
>
>
>
> thanks in advance for your help
>
>

Reply via email to