Exception in thread "main"

Posted on 2006-11-24
Medium Priority
Last Modified: 2010-03-31

Iam done some prg in java which works on windows
environment( it retervies data from the data base and
after manipulating store in some other database)

it worked sucessfully but i want to make it work on
UNIX o/s then i got a runtime exception


Exception in thread "main"
java.lang.AbstractM ethodError: addBatch
com.ibm.first. batch.db. FinrecRow. update(FinrecRow .java:381)
com.ibm.first. batch.BatchAssig n.processRules( BatchAssign. java:404)
com.ibm.first. batch.BatchAssig n.start(BatchAss ign.java: 796)
com.ibm.first. batch.BatchAssig n.main(BatchAssi gn.java:242)
Question by:shwaqar82
  • 2
LVL 23

Accepted Solution

Ajay-Singh earned 600 total points
ID: 18009015
looks like classpath issue, check if the classpath is same as windows on the unix box

Author Comment

ID: 18009062
okie my other question is :
HI to all
i have a problem in Servlet the senario is like that
i have a application in which have many servlet i wanna access a servlet method which is defind in one of them in same application
n hwo access it from diffrent application
Please :)
LVL 36

Assisted Solution

girionis earned 400 total points
ID: 18018611
> i have a application in which have many servlet i wanna access a servlet method which is defind in one of them in same application
>n hwo access it from diffrent application

The best thing you can do is to define the methods you want in an external class which you will call from the servlet. Otherwise, if the methdos does some servlet-specific things you might as well call the servlet and get the returned output from it.
LVL 36

Expert Comment

ID: 18019091

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question