在使用jQuery的时候,发现有如下报错: Uncaught ReferenceError: $ is not defined (anonymous function) 出现这个报错的原因: 1.jQuery库文件的路径不对,检查文件路径是否正确一般就能解决该错误. 2.如果库文件的路径是正确的,那么可能在html中加载jQuery库文件顺序有误,如果将jQuery库文件加载放到最开始位置,即可以解决该错误.…
访问 spring boot controller时,报错:The valid characters are defined in RFC 7230 and RFC 3986 1.特殊符号 @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); //允许特殊符号,本例是 | {…
> gulp build internal/util/inspect.js:31 const types = internalBinding('types'); ^ ReferenceError: internalBinding is not defined at internal/util/inspect.js:31:15 at req_ (D:\xxx\test-monitor\node_modules\natives\index.js:137:5) at require (D:\xxx\t…
写了个接口,在测试访问的时候,需要传json串,但是后台报错了 The valid characters are defined in RFC 7230 and RFC 3986 当前使用的tomcat版本:apache-tomcat-8.0.53 一.方案一(修改后被源码覆盖,无法修改文件): 在tomcat/conf/catalina.properties中添加下面这句话 tomcat.util.http.parser.HttpParser.requestTargetAllow=|{} 在t…