摘要: Maven安装: 下载地址: https://maven.apache.org/download.cgi 如下图: 下载本地后: C:\apache-maven 如下图: 设置系统环境变量: 在系统变量path后加C:\apache-maven\bin 如下图 以管理员身份打开cmd,输入mvn - 阅读全文
posted @ 2020-10-01 16:04 Marshal_liudingjun 阅读(144) 评论(0) 推荐(0)
摘要: 在使用.net 编程时,如果遇到较大型项目,需要做读写分离,我们一般采用AlwaysOn去解决这一类型问题。 那.net 如何实现连接只读库?从两个维度去着手: 第一步:修改数据库连接 在Webconfig文件的数据库连接节点增加如下属性: ApplicationIntent=ReadOnly;Mu 阅读全文
posted @ 2020-04-05 17:28 Marshal_liudingjun 阅读(1049) 评论(0) 推荐(0)
摘要: 最近做个只读分离项目, 节点DB01(主)、DB02(辅)、DB03(辅) 共三个节点, 在webconfig配置如下: connectionString="Data Source=侦听器名称;Initial Catalog=数据名称;Integrated Security=SSPI;Applica 阅读全文
posted @ 2020-04-05 16:50 Marshal_liudingjun 阅读(437) 评论(0) 推荐(0)
摘要: 运行tomcat 提示如下: Neither the JAVA_HOME nor the JRE_HOME environment variable is definedAt least one of these environment variable is needed to run this 阅读全文
posted @ 2020-03-29 09:11 Marshal_liudingjun 阅读(685) 评论(0) 推荐(0)
摘要: 错误描述: The adapter "WCF-Custom" raised an error message. Details "System.ServiceModel.CommunicationObjectFaultedException: The communication object, Mi 阅读全文
posted @ 2020-03-28 13:26 Marshal_liudingjun 阅读(232) 评论(0) 推荐(0)