• 大小: 11.09MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-12
  • 语言: Java
  • 标签:

资源简介

里面整理了cloud.sql,各种jar包,笔记。适合在网上购买java课程的同学自学使用!

资源截图

代码片段和文件信息

package org.tarena.cloudnote.aspect;

import java.io.FileWriter;
import java.io.PrintWriter;

import org.aspectj.lang.annotation.AfterThrowing;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;

@Component//扫描到Spring
@Aspect//定义为切面
public class ExceptionBean {

@AfterThrowing(throwing=“e“
pointcut=“within(org.tarena.cloudnote.controller..*)“)
public void logException(Exception e){
//记录异常信息
//System.out.println(“发生异常:“+e);
try{
FileWriter out = 
new FileWriter(“cloud_note.log“true);
PrintWriter pw = new PrintWriter(out);
e.printStackTrace(pw);
pw.flush();
pw.close();
out.close();
}catch(Exception ex){
System.out.println(“记录异常信息失败“+ex);
}
}
 
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2387  2016-02-19 10:55  Cloud__Note\CloudNote\.classpath

     文件        300  2016-02-18 11:47  Cloud__Note\CloudNote\.mymetadata

     文件       1282  2016-02-19 11:58  Cloud__Note\CloudNote\.project

     文件        309  2016-02-27 16:59  Cloud__Note\CloudNote\.settings\org.eclipse.core.resources.prefs

     文件        330  2016-02-18 11:47  Cloud__Note\CloudNote\.settings\org.eclipse.jdt.core.prefs

     文件     109882  2018-05-08 16:17  Cloud__Note\CloudNote\cloud.sql

     文件      52784  2016-02-18 17:14  Cloud__Note\CloudNote\mybatis+spring.png

     文件       2669  2016-02-19 12:02  Cloud__Note\CloudNote\note_01.txt

     文件        484  2016-02-20 10:59  Cloud__Note\CloudNote\note_02.txt

     文件        597  2016-02-20 16:35  Cloud__Note\CloudNote\note_03.txt

     文件        786  2016-02-22 16:18  Cloud__Note\CloudNote\note_04.txt

     文件        852  2016-02-23 16:29  Cloud__Note\CloudNote\note_05.txt

     文件        393  2016-02-24 10:53  Cloud__Note\CloudNote\note_06.txt

     文件        905  2016-02-25 16:44  Cloud__Note\CloudNote\note_07.txt

     文件       1215  2016-02-26 16:52  Cloud__Note\CloudNote\note_08.txt

     文件       3183  2016-02-27 17:19  Cloud__Note\CloudNote\note_09.txt

     文件       4378  2016-02-29 17:28  Cloud__Note\CloudNote\note_10.txt

     文件       1474  2016-03-01 17:41  Cloud__Note\CloudNote\note_11.txt

     文件      77712  2016-02-18 17:14  Cloud__Note\CloudNote\springmvc+json.png

     文件        621  2016-02-29 15:29  Cloud__Note\CloudNote\src\aop-xml.txt

     文件       3528  2016-02-29 16:21  Cloud__Note\CloudNote\src\applicationContext.xml

     文件        793  2016-02-29 15:55  Cloud__Note\CloudNote\src\org\tarena\cloudnote\aspect\ExceptionBean.java

     文件        555  2016-02-29 15:43  Cloud__Note\CloudNote\src\org\tarena\cloudnote\aspect\LoggerBean.java

     文件        719  2016-02-29 11:28  Cloud__Note\CloudNote\src\org\tarena\cloudnote\controller\note\AddNoteController.java

     文件        665  2016-02-22 16:14  Cloud__Note\CloudNote\src\org\tarena\cloudnote\controller\note\LoadNoteDetailController.java

     文件        672  2016-02-22 10:58  Cloud__Note\CloudNote\src\org\tarena\cloudnote\controller\note\LoadNotesController.java

     文件        667  2016-02-26 16:25  Cloud__Note\CloudNote\src\org\tarena\cloudnote\controller\note\LoadShareController.java

     文件        684  2016-02-27 16:55  Cloud__Note\CloudNote\src\org\tarena\cloudnote\controller\note\MoveNoteController.java

     文件        740  2016-03-01 11:12  Cloud__Note\CloudNote\src\org\tarena\cloudnote\controller\note\SearchNoteController.java

     文件        668  2016-02-26 11:32  Cloud__Note\CloudNote\src\org\tarena\cloudnote\controller\note\SearchShareController.java

............此处省略613个文件信息

评论

共有 条评论