I have bootstrap tabs which are working well while running it in development environment. But when I make a war and deploy it in tomcat server it is not working. The tabs are all shown in correct manner but the switching between tabs are not functional. There is no other problem with bootstrap(Responsive design is working fine).
I am using bootstrap, jquery-ui.
My Grails version is 2.4.4
Tomcat version is 7.0.64
I have added(for you to understanding the version):
runtime ":jquery:1.11.1"
runtime ":twitter-bootstrap:3.3.5"
My chrome console is showing(when running in tomcat):
->Uncaught ReferenceError: jQuery is not defined
(anonymous function) @ application-5db5bde….js:1
(anonymous function) @ application-5db5bde….js:1
My chrome console is showing(when running in developement enviornment;in eclipse or using run-app):
->Uncaught ReferenceError: jQuery is not defined
(anonymous function) @ jquery-ui.js?compile=false:15
(anonymous function) @ jquery-ui.js?compile=false:17
Another change i found is in developement env url is:
http://localhost:8080/appname/controller/function?param1=¶m2=value2¶m3=¶m4=&format=
In production(app deployed in tomcat)url is like:
tabs-1, tabs-2, tabs-3,....... are the id's of div's representing the tabs; when i switch between tags the id in url changes
What could be the problem?