Closed GoogleCodeExporter closed 8 years ago
What is the full noSuchmethodError? What method does it say does not exist?
Also, make sure that you do not have both versions of JMesa in your project...
Original comment by jeff.johnston.mn@gmail.com
on 12 Aug 2010 at 1:54
Hi Jeff,
The error is.
Caused by: java.lang.NoSuchMethodError: org.jmesa.core.filter.SimpleRowFilter:
method <init>()V not found
Original comment by br.v...@gmail.com
on 12 Aug 2010 at 2:37
Did you do a clean and then a full build in your environment?
It is true that there is not a default constructor...but that is ok. In the
previous release I think I have a constructor defined. I had that deprecated
for quite a while and then finally pulled it out completely.
Original comment by jeff.johnston.mn@gmail.com
on 12 Aug 2010 at 2:43
yeah i did clean and full build.
i understand that there was no default constructor in the earlier version later
when i replaced the jmesa.jar2.3.5 to jmesa2.5.3. it threw this error.
Could there be jar file dependencies problem?or any specific thing to be done
after taking the new jmesa.jar(2.5.3) file.
Original comment by br.v...@gmail.com
on 12 Aug 2010 at 2:49
My doubt is there could be a linkage problem.
I m also sure that earlier version worked well where i did not think of
implementing custom row filter.
Original comment by br.v...@gmail.com
on 12 Aug 2010 at 2:51
Are you using the tag library with JSP? It could be your page is cached up.
This is a common problem with Tomcat. The solution is to delete the Tomcat work
directory.
Other than that it is just such a vague error...which is why it looks like some
sort of environmental error such as having two jars in the same classpath. One
thing to watch out for is that you do not have an older version in a dependant
project. When using tools like Eclipse I have seen errors like this when a
different project in the same IDE has a different version.
Original comment by jeff.johnston.mn@gmail.com
on 12 Aug 2010 at 2:58
Thanks jeff,
I m not using the tag library,instead i m making use of API's.
i get this error when i do. tableFacade.setRowFilter(new SimpleRowFilter());
Original comment by br.v...@gmail.com
on 12 Aug 2010 at 3:08
and also there is neither project on my IDE nor in my workspace for jar files
to be dependant.
Original comment by br.v...@gmail.com
on 12 Aug 2010 at 3:13
i meant apart from the project which i m working,there is no other project in
the IDE,and the IDE i m using is netbeans6.0.
Original comment by br.v...@gmail.com
on 12 Aug 2010 at 3:17
That is strange. I just tried that same code and it worked fine for me. I did
try it with the new TableModel, but it just passes through to the facade so it
is the same.
I could try with the 2.5.3 at work tomorrow as I have not rolled to the 3.0
release candidates yet. I am not hopeful that I would find anything. That is a
strange message to get.
If you wanted you could try the 3.0 rc3 as I have been getting good reports
back about the backwards compatibility of it.
Original comment by jeff.johnston.mn@gmail.com
on 12 Aug 2010 at 3:22
I deleted the project in my work directory.and stopped tomcat and also closed
and reopned the project and i run the project,but i still get the same error.
Now that i will give a try on 3.0rc3.
Original comment by br.v...@gmail.com
on 12 Aug 2010 at 3:28
I tried with 3.0rc3 and still get the same error.
Original comment by br.v...@gmail.com
on 12 Aug 2010 at 3:53
If you want I can send you a build with a default constructor in that class. It
is completely unnecessary but I would be curious if it really does fix your
issue. If so send me an email at jeff.johnston.mn@gmail.com and I will send you
a jar file.
Original comment by jeff.johnston.mn@gmail.com
on 12 Aug 2010 at 4:12
Jeff,i did took the source file of simpleFilter & other dependable java files
from trunk.and created the java classes in my project.seems to be working
fine.but i have some other issues well.
anyways will mail you now.
Original comment by br.v...@gmail.com
on 12 Aug 2010 at 4:15
it was a jar file dependency problem jeff,
i found that if i remove from netbeans and configure using libraries,the old
jar file was still in lib folder but the path in netbeans was pointing to new
one.
i removed the older version from lib folder and put the new jmesa2.5.3 file
into lib folder.
It seemed pages were rendered properly with the jmesa tables.:-)
But i could see that if there is a link attribute available in jmesa
row,instead of displaying the link it displayed like an html <a
href="">edit</a>,i guess it was not parsed,
same is the case when i put the jmesa-3.0_10.08.11.jar which u sent me.
good part is that the earlier noSuchMethod error vanished.
Original comment by br.v...@gmail.com
on 12 Aug 2010 at 5:43
I am assuming that the link is coming from your bean (item)? The default was
changed to escape html syntax. If you have html markup in your data that you do
not want displayed you can use the BasicCellEditor.
I changed this awhile back because I felt pretty confident it was the correct
default. Plus, if you have a custom cell editor you would either extend from
the AbstractCellEditor, or implement the CellEditor directly anyways.
Original comment by jeff.johnston.mn@gmail.com
on 12 Aug 2010 at 5:11
Thanks, Jeff.
I used customsimpler row filter and customized accordingly and all seems
working fine now.
Thanks for your support.
Original comment by br.v...@gmail.com
on 13 Aug 2010 at 2:36
Original comment by jeff.johnston.mn@gmail.com
on 9 Mar 2011 at 8:42
Original issue reported on code.google.com by
br.v...@gmail.com
on 11 Aug 2010 at 9:35