• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSC problems with MySQL DataSource

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi folks!

I need a little help ...
I'm working Java Studio Creator (2004Q2 - update 8), but mysterious things have been happening since last week. My problem is: I can't create a MySQL data Source in JSC!!! I already read tutorial available at Java Studio Creator website but nothing happens!
I did the follow:

1) Went to Server Navigation and right-click on Data Sources and choose Add Data Source.
2) For Server Type, I selected 'Add Server Type'.
3) Hit the New... button and choose the jar file (called mysql-connector-java-3.1.12-bin.jar).
4) For the Driver Class Name: com.mysql.jdbc.Driver.
5) For the URL template: jdbc:mysql://#HOSTNAME:3306/#DATABASE.

I've come back to dialog 'Add Data Source' and fill it with database information (database name, host name, ...) ... when I hit 'Test Connection' nothing happens!! I saw the log file and got this Error:

java.lang.NoClassDefFoundError: org/aspectj/runtime/reflect/Factory



I don't know how to fix this ... somebody can help me?

Regards,
Marcella Spiropulos
 
reply
    Bookmark Topic Watch Topic
  • New Topic