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

  • SEARCH
  • Home
  • 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 791385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:49:38+00:00 2026-05-14T21:49:38+00:00

while trying to deploy a Grails application into tomcat6 I ran into some problems:

  • 0

while trying to deploy a Grails application into tomcat6 I ran into some problems: I used the grails war command to build up a war, then copied it to var/lib/tomcat6/webapps and tried to restart the container.

I had to change default Tomcat policy to skip security exceptions, since I couldn’t access environment variable (like grails.env), then tried again but it gives me an exception related to instantiating something, but it’s not clear where should I try to fix the error, according to tomcat6 logs the problem is:

SEVERE: Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsC$
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘pluginManager’ defined in ServletContext$
at java.lang.Thread.run(Thread.java:619)
Caused by: org.codehaus.groovy.grails.exceptions.NewInstanceCreationException: Could not create a new instance of class [Hiberna$
… 1 more
Caused by: java.lang.NoClassDefFoundError: org.hibernate.cfg.Environment

It seems like it’s unable to load org.hibernate.cfg.Environment class.

I checked the applicationContext.xml and it refers to grails.xml to search for plugins, in this last file I actually have HibernateGrailsPlugin.

Where should I look to find if the plugin is present?

  • 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-05-14T21:49:39+00:00Added an answer on May 14, 2026 at 9:49 pm

    Not a grails guy, but you seem to be missing the hibernate-core dependencies. You could try to drop that .jar into your server shared lib and see if that resolves your problem. Ideally this would be located somewhere in your grails war libs but I’m not sure where.

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

Sidebar

Ask A Question

Stats

  • Questions 492k
  • Answers 492k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The solution is : remove application from simulator (or device)… May 16, 2026 at 10:30 am
  • Editorial Team
    Editorial Team added an answer Your native C++ app can call the functions documented here:… May 16, 2026 at 10:30 am
  • Editorial Team
    Editorial Team added an answer You can also use an array.array: from array import array… May 16, 2026 at 10:30 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Hi I'm trying to build/deploy war to websphere process server 7.0. and I run
While trying to deploy a simple asp.net mvc project on an IIS 6 server,
While trying to deploy my spring app on tomcat 6 I get an error
Google App Engine says Must authenticate first. while trying to deploy any app: me@myhost
While trying problem 41 from the Euler Project, I ran across what seems to
I am trying to use the FxCop build runner in TeamCity (5.1.2) and while
How can you have a grails application as well as other servlets defined in
I'm trying to figure out how to solve some challenges that my team is
I've got the following exception while trying to open the URL http://localhost:8080/app/clientes/agregar : javax.servlet.ServletException:
I'm getting this error (see title) while trying to parse an XML file in

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.