错误描述 当form表单加FormGroup属性时报错 Can't bind to 'formGroup' since it isn't a known property of 'form' <form nz-form [formGroup]="valForm" (ngSubmit)="submit()" role="form"> <div nz-form-item> <div nz-form-control [nz…
在APP.module.ts中引入FormsModule, ReactiveFormsModule. import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { AppComponent } from '.…
运行tomcat时,报错: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??错误 原因分析: 这是因为之前已开启了一个tomcat,现在又再启动tomcat,就会出现这种端口占用的情况. 解决: 方法一:结束javax.exe 进程 —— 在任务管理器——进程中,找到 javax.exe ,结束该进程,然后再重启tomcat即可. 方法二:修改tomcat的端口 —— 先找到tomcat的工作目录,然后修改Tom…
idea 报错javax/xml/bind/DatatypeConverter   java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter 解决方法: 需要导入 javax.xml.bind.jar   下载一个导入即可 网址:http://www.java2s.com/Code/Jar/j/Downloadjavaxxmlbindjar.htm 真正解决方案:java.lang.NoClassDefFoundError:…
目录1 json的key...value问题 遍历json的key...value的时候报错: [tslint] for (... in ...) statements must be filtered with an if statement 原代码: for (let key in this.targetList[0]) { this.tableHeaders.push({ value: key, name: key }) } 修改为: for (const key in Object.ke…
报错: Module 'App' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument. 解决办法: angular.module('bookxApp').controller(...) ; 少了依赖 [ ] 双括号 改成…
启动运行fiddler 报错,提示Unable to bind to port [8888],ErrorCode:10106 解决方式: 使用Fiddler或其他类似的监听工具出现这种错误时, Unable to bind to port [8888]. ErrorCode: 10106cmd下面执行命令 netsh winsock reset  然后重启电脑就可以了…
1.错误信息: Failed to instantiate module app due to: Error: [$injector:unpr] http://errors.angularjs.org/1.5.8/$injector/unpr?p0=showE... at http://localhost:6664/hospital/assets/js/angular.min.js?v=1499753083736:6:412 at http://localhost:6664/hospital/a…
报错信息: Description: Failed to bind properties under 'spring.datasource.druid' to javax.sql.DataSource: Property: spring.datasource.druid.filters Value: stat,log4j Origin: class path resource [application.yml]:47:16 Reason: org.apache.log4j.Logger Acti…
报错代码如下: <div ng-controller="HelloAngular"> <p>{{greeting.text}},angular</p> </div> function HelloAngular($scope){ $scope.greeting = { text:'hello' } } 在用angular1.3版本以前的时候,上面的代码运行是没有问题的.但是我更新版本后报错 Error: [ng:areq] http://e…