WebSphere and TagLib problem ...

b4u

Golden Member
Nov 8, 2002
1,380
2
81
Hi,

I'm having a problem with WebSphere Studio Application Developer (currently using 5.1.2 here), which I would appreciate any help ...

The problem is as follows:

I'm using some custom tags in my jsp pages. I have defined a class for each tag, defined the tags on a TLD file, ans included the "taglib" directive on the pages.

Everything was working fine ... was ...

I changed the methods of one class, (renamed one, removed several), and updated the TLD file. Now, on the "Project Navigator" tree, I'm receiving the red-cross of error on the jsp file.

On the "Tasks" list, I have several errors, each with the description I attached as code below.

At first glance, one might think there should be some uncompatible method signatures, but the class files and the TLD all check correctly. Also I can run the project and access the pages with no problem ... no server side error, no log, nothing ... everything is working just perfectly, custom tags are working fine, with the changes I've made.

Another thing, is that I picked up a file that strangely had no error (and it also has the tag code inside as the rest of the files that are reported by websphere as having errors), created a NEW file, copy-pasted the entire contents, and the new file is also reported as having error. So 2 files with exacly the same content, and websphere reports differently ... the old one as correct, the new one as having that same error.

Seems some sort of refresh probably? But I've tried deleting the binary files (on the WEB-INF/classes folder) so he could re-generate them, from the source, I've tried rebuilding the project, exit and entering the entire websphere, but no success ...

Help Appreciated ... Thanks.
 

znaps

Senior member
Jan 15, 2004
414
0
0
Do your custom classes exist in only one place in your workspace, or have several versions?

WSAD has always had these little bugs where it erroneously reports errors in jsp files. This used to happen to me all the time with 5.0. So I would assume that't what's happening here. You should be able to refresh/restart and get rid of this error though.
 

b4u

Golden Member
Nov 8, 2002
1,380
2
81
Hi,

Well, I have the classes in only one package ... even tried changing the name of the classes and tag names, with no result ... I do believe this may be a WSAD error though ... because it all runs fine after all ... but it's a pain to work with such amount of errors reported, and since task list has a restricted number of items displayed, any serious error would not be displayed because it's over the limit! :(