
maven
Royal niver give up
这个作者很懒,什么都没留下…
展开
-
easypoi导出
1.首先导入相应依赖 <!-- easypoi简单导出所需要的jar包 start --> <dependency> <groupId>cn.afterturn</groupId> <artifactId>easypoi-base</artifactId> <version>3.2.0</version> </dependency> <dependency>原创 2021-08-27 17:48:29 · 276 阅读 · 0 评论 -
idea maven报红,但是项目中有jar包,提示找不到xx类
1、遇到这个问题首先排查是否是maven没有下载完整,有可能是网络不好导致的,找到仓库中jar包位置,删除文件夹,然后刷新maven,看看是否报红; 2、如果上面操作后报红,将整个里面的依赖剪切,然后maven clear一下,然后把刚刚复制的依赖放进pom.xml里面,刷新maven重新全部下载; 3、如果上面还是报红,点击File->invalidate Caches/Restart,清空缓存重启idea,然后等加载完刷新maven; 4、如果上面还是报红,看看是不是个别报红,如果是,那么问题应该原创 2021-06-10 11:33:45 · 2130 阅读 · 0 评论 -
maven settings.xml配置
maven settings.xml配置 <?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regardi原创 2020-12-17 11:07:02 · 226 阅读 · 0 评论