Fundebug后端Java异常监控插件更新至0.2.0,支持Spring及Maven
2019-01-08 15:57
495 查看
摘要: 0.2.0支持监控Spring应用,并且支持使用Maven接入插件,请大家及时更新。
支持监控Spring应用
1. pom.xml配置fundebug-spring依赖
<dependency> <groupId>com.fundebug</groupId> <artifactId>fundebug-spring</artifactId> <version>0.2.0</version> </dependency>
2. 在项目中引入fundebug并配置apikey
新增FundebugConfig.java
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; import com.fundebug.Fundebug; import com.fundebug.SpringConfig; @Configuration @Import(SpringConfig.class) public class FundebugConfig { @Bean public Fundebug getBean() { return new Fundebug("apikey"); } }
可以参考Demo项目Fundebug/fundebug-spring-demo。
支持使用Maven接入插件
Fundebug的Java异常监控插件fundebug-java与fundebug-spring都发布到了Maven中央仓库,因此可以在pom.xml直接配置依赖。
接入fundebug-java
<dependency> <groupId>com.fundebug</groupId> <artifactId>fundebug-java</artifactId> <version>0.2.0</version> </dependency>
接入fundebug-spring
<dependency> <groupId>com.fundebug</groupId> <artifactId>fundebug-spring</artifactId> <version>0.2.0</version> </dependency>
参考
关于Fundebug
Fundebug专注于JavaScript、微信小程序、微信小游戏、支付宝小程序、React Native、Node.js和Java线上应用实时BUG监控。 自从2016年双十一正式上线,Fundebug累计处理了9亿+错误事件,付费客户有Google、360、金山软件、百姓网等众多品牌企业。欢迎大家免费试用!
版权声明
转载时请注明作者Fundebug以及本文地址:
https://blog.fundebug.com/2019/01/07/fundebug-java-0-2-0/
相关文章推荐
- Maven+SpringMVC+Eclipse软件安装配置,Maven报插件异常,Eclipse总是卡死的解决方法,导入一个maven工程后 一直显示importing maven project
- Android ADT插件更新后程序运行时抛出java.lang.VerifyError异常解决办法
- 注意!Gradle的Android插件不支持Java8!(可能包括Maven等等)
- Maven -- 使用插件打包时,提示java编译异常,但是本地服务可以正常运行
- maven 项目 启动时异常:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListen
- maven+spring测试出现 java.lang.IllegalStateException: Failed to load ApplicationContext异常
- Java异常 | maven编译报错 -source 1.5 中不支持 lambda 表达式的快速解决办法
- 在maven项目中使用apache cxf中遇到异常 java.lang.ClassCastException: org.springframework.web.filter.CharacterEncodingFilter cannot be cast to javax.servlet.Filter
- SpringBoot系列: 使用MyBatis maven插件自动生成java代码
- Eclipse Javascript插件,像写Java一样写JS —— Spket,支持ExtJS
- maven 项目出现 java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- 开发自己的Maven插件之七:开发jslint4java-report plugin
- Java 项目中异常积累(持续更新)
- Maven java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- 好用的Java反编译工具,支持JDK1.4,5.0,6.0,还提供了eclipse插件
- maven 项目出现 java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- Jfinal Model自动绑定插件更新,支持jar中model的扫描。
- hibernate4 和 spring3 整合注意事项 否则java.lang.NoSuchMethodError异常
- spring java.lang.IllegalArgumentException:。。。 no matching editors or conversion strategy found异常
- maven+mybatis+mybatis-generator+sql server 2005自动生成代码,加上自定义分页插件和批量插入更新插件