XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Jordan MarchandSubject: ClassNotFound Exception
Author: Jordan Marchand
Date: 20 Oct 2005 08:52 AM
Hi,

I'm having problems implementing a custom file system that connects to a MS SQL database. I keep getting a ClassNotFound exception when trying to load the JDBC drivers from Microsoft, with the command Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");

I've added the classpath to the Microsoft jar files to my classpath environment variable, and to my CustomFileSystem jar's manifest's classpath definition. I've even added the jar files into my CustomFileSystem jar file, without any luck.

Any help would be appreciated,

Jordan

Posttop
Ivan PedruzziSubject: ClassNotFound Exception
Author: Ivan Pedruzzi
Date: 20 Oct 2005 12:04 PM
Hi Jordan,

Custom file sytem implementation has to be self-contained meaning that when you register a file system you have to include all Java classes. Stylus Studio will not look in the system classpath.

Stylus Studio 6.3 exposes already a way to browse relational databases, take a look to the File Explorer -> Relational DB.


Hope this helps
Ivan Pedruzzi
Stylus Studio Team

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.