so I'm trying to write a java web service via Eclipse to expose some SQL Server data in XML format
I've some how managed to write a script that returns the SQL Server query results I want
I've also some how managed to set up a basic java web service that exposes XML of some dummy data (stored as a ArrayList) through localhost
All the necessary jars have been added via configure build path
Both work fine separately. But when I remove the dummy data to try and use the data from the query, I keep getting java.lang.NoClassDefFoundError com/microsoft/sqlserver/jdbc/SQLServerDriver errors
My dummy data involves simply hardcoding string data into the ArrayList
I get also get the string values of my query resultset via something like
rs.getObject("FieldName").toString()
I know this works because I can see the data when I print to console.
So I simply replace the hardcoded strings with this but it keeps throwing error