Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8789813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:30:42+00:00 2026-06-13T22:30:42+00:00

I am trying to run a utility class which calls some project specific classes,

  • 0

I am trying to run a utility class which calls some project specific classes, from .bat file. Utility class runs fine from Eclipse IDE but from command line I get Caused by: java.lang.ClassNotFoundException: org.hibernate.Interceptor.
I assumed that to fix this issue I should find corresponding jar from the project’s lib folder and set it explicitly into the bat file’s CLASSPATH. But I could not find any jar with class org.hibernate.Interceptor.

What is wrong with my approach? I have following hibernate related jars in my lib folder:

  • hibernate3.jar
  • hibernate-jpa-2.0-api-1.0.0.Final.jar

Batch file has just two commands

@ECHO OFF
java -cp .;D:\Projects\Name\webapps\WEB-INF\classes dbchanges.CreateQuery
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:30:43+00:00Added an answer on June 13, 2026 at 10:30 pm

    Found the answer. I have to include all the necessary jars into CLASSPATH.

    Sorry for stupid question 🙁

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying run a program from a qmake .pro file which modifies the
I'm trying to create and run a project. I used the following article: https://docs.djangoproject.com/en/dev/intro/tutorial01/?from=olddocs
I'm trying to run the rgrep command from a small Emacs Lisp utility, but
Im trying to run exe file with c++ with no luck I tried this:
When trying to run an Eclipse Dynamic Web Project under a Tomcat setup using
I'm trying to compile some .less files using django-pipeline . When I run collectstatic
I am trying to run some unit tests in a C# Windows Forms application
Java newbie here. I'm trying to run the latest version of MWDumper , which
I'm trying to use the linux utility make in order to Run a script
Situation: I'm trying run an https store (xcart) under one domain secure.example.com and I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.