Solved

Exception in thread "main"

Posted on 2006-11-24
4
197 Views
Last Modified: 2010-03-31
Hi,

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

Error:--

Exception in thread "main"
java.lang.AbstractM ethodError: addBatch
at
com.ibm.first. batch.db. FinrecRow. update(FinrecRow .java:381)
at
com.ibm.first. batch.BatchAssig n.processRules( BatchAssign. java:404)
at
com.ibm.first. batch.BatchAssig n.start(BatchAss ign.java: 796)
at
com.ibm.first. batch.BatchAssig n.main(BatchAssi gn.java:242)
0
Comment
Question by:shwaqar82
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 23

Accepted Solution

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

Author Comment

by:shwaqar82
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 :)
regard
Shaukat
0
 
LVL 35

Assisted Solution

by:girionis
girionis earned 100 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.
0
 
LVL 35

Expert Comment

by:girionis
ID: 18019091
:)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

707 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