Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

java.util.regex.* in a servlet

Status
Not open for further replies.

Lars

Programmer
Aug 10, 2000
16
0
0
DE
hi,

i need to scan through a String and replace some parts of it with another text. I am using the new java.util.regex.* package.

I already wrote the programm as a normal application. Now I want to change it into a servlet. Everything is fine with Forte4Java. It compiles and I don´t get any error messages but when I try to invoke the servlet in the browser, I get this exception:

java.lang.NoClassDefFoundError: java/util/regex/Pattern

can anybody help?

thanks!

 
Forte can use different compilers for compilation and executions, it can be quite confusing.

Check that both compilers are set up with the correct path for the jar files for that class.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top