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 7598585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T22:26:34+00:00 2026-05-30T22:26:34+00:00

I had a working Spring Roo webapp, but it didn’t have any jQuery in

  • 0

I had a working Spring Roo webapp, but it didn’t have any jQuery in it.

Now I want to add some Ajax functionality, so I downloaded the jQuery .js file, and included it in my “head” section of my layout file like this:

<script type="text/javascript" src="/MyApp/js/jquery-1.7.1.js"></script>

Now, when I load the app up, all my resources have disappeared (images etc). The main pages all work ok, but they look really basic because the images/styles etc etc have gone.

I took a “view source” of the generated HTML page before and after adding the “script” element, and they are identical (according to WinMerge). No errors in FireFox’s error console either.

What have I done wrong?

Thanks

  • 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-30T22:26:35+00:00Added an answer on May 30, 2026 at 10:26 pm

    You should try using noConflict()

    <script type="text/javascript" src="/MyApp/js/jquery-1.7.1.js"></script>
    $.noConflict();
    //use only jQuery instead of $ from here
    

    if your sites works ok after doing this you probably have another framework installed and this is conflicting with jQuery

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

Sidebar

Related Questions

I am new to Spring MVC. But I had certain experience in working with
I had been working on server side(c#) for a couple of years. But now
I had this working fine yesterday, made some changes and I have no idea
I'm working on a Spring webapp and I have a library I include as
I am new to working with Spring on regular basis so I had a
I had started working on GPGPU some days ago and successfully implemented cholesky factorization
Strangely I had this working before but I reinstalled my system, upgraded to w7
Had a page that was working fine. Only change I made was to add
I use Spring 3.0 and ehcache. I have added @Cacheable annotations to some methods
I had this working, made a change somewhere and now I can't track down

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.