[Mulgara-dev] Now problem with JSP & mulgara
Carlo Bernava
carlo.bernava at gmail.com
Wed Nov 5 00:16:14 UTC 2008
I have imported all jars file in my jsp Project in eclipse (in buildpath)
but nothing....
Carlo
2008/11/5 Carlo Bernava <carlo.bernava at gmail.com>
> excuse my newby question but perhaps i'm doing the same thing....with
> classpath what do you point?
>
> Carlo
> 2008/11/3 Paul Gearon <gearon at ieee.org>
>
> This looks like a classpath problem. ConnectionFactory is in
>> querylang-2.0.6.jar, driver-2.0.6.jar and mulgara-2.0.6.jar.
>>
>> Do you have one of these jars in the classpath?
>>
>> Have you imported it? The full name is
>> org.mulgara.connection.ConnectionFactory
>>
>> Paul
>>
>> On Mon, Nov 3, 2008 at 5:38 AM, Carlo Bernava <carlo.bernava at gmail.com>
>> wrote:
>> > Hi All
>> >
>> > I'm doing a jsp that connect to mulgara...
>> > I'm developping jsp in Eclipse editor, and i'm usign tomcat....
>> >
>> >
>> > I wrote a simple example:
>> >
>> >
>> > <%@page import="java.net.URI" %>
>> > <%@page import="org.mulgara.connection.*" %>
>> > <%
>> > //define the server we want to connect to
>> > URI serverURI = new URI("rmi://Utentino/server1");
>> > //Create a factory, and connect to the server
>> > ConnectionFactory factory = new ConnectionFactory();
>> > Connection connection = factory.newConnection(serverURI);
>> > %>
>> >
>> >
>> >
>> > But the can't execute beacouse the error is :
>> >
>> > HTTP Status 500 -
>> >
>> > ________________________________
>> >
>> > type Exception report
>> >
>> > message
>> >
>> > description The server encountered an internal error () that prevented
>> it
>> > from fulfilling this request.
>> >
>> > exception
>> >
>> > org.apache.jasper.JasperException: Unable to compile class for JSP:
>> >
>> > An error occurred at line: 10 in the jsp file: /Prova.jsp
>> > ConnectionFactory cannot be resolved to a type
>> > 7: //define the server we want to connect to
>> > 8: URI serverURI = new URI("rmi://Utentino/server1");
>> > 9: //Create a factory, and connect to the server
>> > 10: ConnectionFactory factory = new ConnectionFactory();
>> > 11: Connection connection = factory.newConnection(serverURI);
>> > 12: %>
>> >
>> >
>> > HELP PLEASE :P
>> >
>> >
>> >
>> >
>> >
>> > Carlo
>> >
>> > _______________________________________________
>> > Mulgara-dev mailing list
>> > Mulgara-dev at mulgara.org
>> > http://mulgara.org/mailman/listinfo/mulgara-dev
>> >
>> >
>> _______________________________________________
>> Mulgara-dev mailing list
>> Mulgara-dev at mulgara.org
>> http://mulgara.org/mailman/listinfo/mulgara-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mulgara.org/pipermail/mulgara-dev/attachments/20081105/18a42e29/attachment.htm>
More information about the Mulgara-dev
mailing list