#SPEC

tp5.1 错误 No input file specified.

http://www.xxxx.com/admin/index/index在登录的时候报错出现错误:Noinputfilespecified. 一、方法 与php版本有关 PHP版本5.6以上都会出现这个问题 把php版本改为5.5就OK 二、方法.htaccess文件...

Failed to configure a DataSource: 'url' attribute is not specified and no embe...

问题分析及解决方案问题原因:Mybatis没有找到合适的加载类,其实是大部分spring-datasource-url没有加载成功,分析原因如下所示.DataSourceAutoConfiguration会自动加载.没有配置spring-datasource-url属性.spring-datasource-url配置的...

透视投影(Perspective Projection)变换推导

透视投影是3D固定流水线的重要组成部分,是将相机空间中的点从视锥体(frustum)变换到规则观察体(CanonicalViewVolume)中,待裁剪完毕后进行透视除法的行为。在算法中它是通过透视矩阵乘法和透视除法两步完成的。   透视投影变换是令很多刚刚进入3D图形领域的开发人员感到迷...

Stage3D 中的PerspectiveMatrix3D

PerspectiveMatrix3D继承自Matrix3D。表示投影矩阵的功能类。公式:用4X4矩阵向z=d的平面投影publicfunctionperspectiveFieldOfViewLH(fieldOfViewY:Number,       ...

springAOP(Aspect)权限访问页面

1、XML进行配置切面<?xmlversion="1.0"encoding="UTF-8"?><beansxmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-ins...

springAOP(Aspect)权限访问页面

1、XML进行配置切面<?xmlversion="1.0"encoding="UTF-8"?><beansxmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-ins...

使用@Aspect切面进行让JDBC自动关闭(Spring AOP)

原生jdbc进行测试  demo:https://github.com/weibanggang/springjdbcAspect.git...

使用@Aspect切面进行让JDBC自动关闭(Spring AOP)

原生jdbc进行测试  demo:https://github.com/weibanggang/springjdbcAspect.git...

The user specified as a definer ('root'@'%') does not exist的解决方法

Theuserspecifiedasadefiner('root'@'%')doesnotexist的主要是由于对视图的操作没有相关权限解决方法:用NavicatPremium打开MySQL连上数据库后  权限问题,授权给root所有sql权限mysql>grantallprivilegeso...

AOP AspectJ注解

概念:切面(aspect):用来切插业务方法的类。连接点(joinpoint):是切面类和业务类的连接点,其实就是封装了业务方法的一些基本属性,作为通知的参数来解析。通知(advice):在切面类中,声明对业务方法做额外处理的方法。切入点(pointcut):业务类中指定的方法,作为切面切入的点。其实就是指定某个方法作...
代码星球 代码星球·2020-08-09

springMVC Aspect AOP 接口耗时统计

  在接口开发中,我们通常需要统计接口耗时,为后续接口性能做统计。在springMVC中可以用它的aop来记录日志。  1、在spring配置文件中开启AOP<!--***************支持aop****************--><aop:aspectj-autoproxyproxy-t...

使用Rider中搭建specflow+xunit+selenium对web页面进行自动化功能测试环境

运行rider,创建测试解决方案,选择xunit,点击create创建​ 导入包,由于本人使用chrome浏览器(需先下载好对应的浏览器驱动),所以导入了selenium.webdriver.chromeDriver包,读者导入此类包时可与自己使用的浏览器保持一致。    注意:导入包时不要导入后面带有Bet...

MySQL:Specified key was too long; max key length is 767 bytes.

建表语句:CREATETABLEIFNotEXISTSapi(apivarchar(500)notnull,methodvarchar(50)notnulldefault'POST',PRIMARYkey(api,method))ENGINE=InnoDBDEFAULTCHARSET=utf8;报错: Spe...
首页上一页...6869707172...下一页尾页