用.less文件编写的CSS没有在登陆页面上应用

时间:2016-05-02 13:01:47

标签: javascript java java-ee less

用.less文件编写的CSS无法登陆页面。在后台,我收到以下错误 -

org.mozilla.javascript.EcmaError: TypeError: Cannot call method "charAt" of undefined (/D:/jboss-5.1.0.GA/server/default/deploy/myapp.ear/myapp-web.war/WEB-INF/lib/lesscss-engine-1.5.1.jar/META-INF/less.js#308)
        at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)
        at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)
        at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3693)
        at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3712)
        at org.mozilla.javascript.ScriptRuntime.undefCallError(ScriptRuntime.java:3731)c
        at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2258)
        at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2251)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1317)
        at script.getLocation(/D:/jboss-5.1.0.GA/server/default/deploy/myapp.ear/myapp-web.war/WEB-INF/lib/lesscss-engine-1.5.1.jar/META-INF/l
ess.js:308)
        at script.LessError(/D:/jboss-5.1.0.GA/server/default/deploy/myapp.ear/myapp-web.war/WEB-INF/lib/lesscss-engine-1.5.1.jar/META-INF/les
s.js:335)

注意:我的项目正在使用" lesscss-servlet-1.5.1.jar"和" lesscss-engine-1.5.1.jar"。

0 个答案:

没有答案