aspectj pointcut 找不到类型pointcut cannot be resolved to a type
2016-03-15 16:32
525 查看
引入了aspectJ后,文件提示找不到pointcut类型。修改如下:
.project文件添加内容,红色字体为添加的引用
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ggyx_mobile</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ajdt.core.ajbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.ajdt.ui.ajnature</nature>
</natures>
</projectDescription>
.project文件添加内容,红色字体为添加的引用
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ggyx_mobile</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ajdt.core.ajbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.ajdt.ui.ajnature</nature>
</natures>
</projectDescription>
相关文章推荐
- asp.net发布到IIS中出现错误:处理程序“PageHandlerFactory-Integrated”在其模块列表中有一个错误模块“ManagedPipelineHandler” <转>
- Spring进阶之路(11)-使用Aspectj切面配置和XML配置文件方式实现切面编程
- ASP.NET/C#中如何调用动态链接库DLL
- 树莓派折腾录四. 在野的众多发行版(Raspberry Pi 2 model B+RaspEX)
- 异常处理在 ASP.NET Web API
- asp.net webForm中的Repeater的用法
- asp 程序 转 php
- asp 文章内容里的图片宽度过大 撑爆页面布局 解决办法
- Eclipse配置AspectJ插件AJDT
- ASP.NET-----Repeater数据控件的用法总结
- ASP.net 连接Access数据库的相关实例
- RESTful在asp.net webAPI下的PUT、POST实现,json传输实体
- ASP.NET Eval四种绑定方式
- asp.net webservice 调用实例
- ASP.NET/C#中如何调用动态链接库DLL
- jasperReport+Ireport和FineReport报表的对比
- ASP.NET MVC的请求生命周期
- Asp.Net页面生命周期
- asp.net winform 界面传值
- DX:ASPxGridView使用选择事件的前置条件