码迷,mamicode.com
首页 >  
搜索关键字:.configure    ( 6481个结果
springboot使用war包部署到外部tomcat
如果是war包部署到外部tomcat,需要增加SpringBootServletInitializer子类,并重写其configure方法,或者将main函数所在的类继承SpringBootServletInitializer子类,并重写configure方法。 @SpringBootApplica ...
分类:编程语言   时间:2020-01-15 22:43:45    阅读次数:77
奇葩的Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
启动springboot的时候莫名其妙出现这个错误,我properties里面也没配置数据源啥的,但就是出现这个错误 解决方法: 在启动类上加@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class}) 即在@SpringB ...
分类:Web程序   时间:2020-01-15 19:21:45    阅读次数:90
SEATA 分布式事务入门DEMO
Simple Extensible Autonomous Transacation Architecture, 是简单的、可扩展、自主性高的分布式架构 SEATA Server Configure 因我们使用正式的1.0.0 GA 版本,网上大多数找到的说明都是0.X版本,有不少变动,比如,在ser ...
分类:其他好文   时间:2020-01-15 19:19:56    阅读次数:1264
29-SQLServer中Windows用户和sa用户都登录不上的解决办法
一、注意点 1.网址 https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/connect-to-sql-server-when-system-administrators-are-locked-out?redi ...
分类:数据库   时间:2020-01-14 16:37:06    阅读次数:121
错误:Could not find an available JavaScript runtime
使用execjs 解析抓取的网页数据时,报错:Could not find an available JavaScript runtime pip install pyPyExecjs 安装 解决方案: 下载:wget https://nodejs.org/dist/v8.11.4/node-v8. ...
分类:编程语言   时间:2020-01-14 13:28:17    阅读次数:154
压测工具siege和wrk
siege压测工具 安装: wget http://download.joedog.org/siege/siege-3.0.8.tar.gz cd siege-3.0.8 ./configure make make install 验证安装结果:输入siege -V 如果输出了版本号就代表安装没问题 ...
分类:其他好文   时间:2020-01-13 16:03:11    阅读次数:177
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could
问题描述: springboot版本 2.1.1 pom.xml配置 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifa ...
分类:Web程序   时间:2020-01-13 13:07:17    阅读次数:88
SQL server事物复制报错:要复制的 LOB 数据的长度(xxxxx)超出了配置的最大值 65536 …
(一)事故背景 最近在SQL Server 2012生产数据库上配置完事物复制(发布订阅)后,生产数据库业务出现了报错信息: 要复制的 LOB 数据的长度(xxxxx)超出了配置的最大值 65536。请使用存储过程 sp_configure 为 max text repl size 选项(默认值为 ... ...
分类:数据库   时间:2020-01-12 13:35:05    阅读次数:130
.Net Core Swagger配置
第一步,安装swagger 使用程序包管理器控制台,输入如下命令: 第二部,StartUp.cs配置 注意 SWG1 这是随便取的名字 Configure中添加如下代码,使用中间件: 注意这里的,SWG1要和上面的SWG1名称保存一直。 在配置一下 launchSettings.json 运行项目之 ...
分类:Web程序   时间:2020-01-11 22:18:47    阅读次数:215
NetCore去注册Eureka
首先先安装nuget组件:Steeltoe.Discovery.ClientCore 然后在ConfigureServices中进行注入 services.AddDiscoveryClient(Configuration); Configure中引用app.UseDiscoveryClient(); ...
分类:Web程序   时间:2020-01-11 00:37:20    阅读次数:256
6481条   上一页 1 ... 46 47 48 49 50 ... 649 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!