项目没有错误当用maven clean或者其他maven功能时,就出现错误了。

百度说版本不相容,我用的jdk1.7不知道它跟什么不相容图片

5个回答

更换下maven 版本试试

用maven clean或者其他maven功能时,就出现错误了,很明显,你没有配置MAVEN_HOME

CODER_V
无道loading 回复ProblemJava: 看你的安装路径和你的配置路径是否相同
大约 3 年之前 回复
ProblemJava
ProblemJava 配置了
大约 3 年之前 回复

图片说明 你可以这样 mvn -v 查看你maven安装是否正确

CODER_V
无道loading 回复ProblemJava: pom里面配置了吗
大约 3 年之前 回复
ProblemJava
ProblemJava maven 安装没有错误啊
大约 3 年之前 回复

图片说明

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
maven 项目重新部署时 出现 过时 错误
在pom.xml文件中加入下面配置信息: 1.8 1.8
Maven 打包项目时出现的错误
打包时,没有install 依赖项目 使用maven管理的spring boot 项目,项目A 依赖项目B,在打包项目A的时候,出现下面的错误 报错: Failed to execute goal on project hong-bao: Could not resolve dependencies for project com.xuexuan:hong-bao:jar:0.0.1-SNAPSH...
Maven 项目出现的错误总结
Maven 项目出现的错误总结问题1: Description Resource Path Location Type CloudException cannot be resolved to a type 解决方法:eclipse -> project -> clean…
maven在Eclipse操作clean时报错
maven的clean时报错: -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match. 解决方案: 1、在计算机中添加M2_HOME的环境变量。 2、选择eclipse中windows的Preferenc...
maven聚合项目项目间依赖时,出现错误的解决办法
例如自己的项目taotao mvn clean install 一定要从顶层project向里,否则会出现错误 [INFO] Reactor Summary: [INFO]  [INFO] taotao-parent ...................................... SUCCESS [  0.652 s] [INFO] taotao-common ..
maven 项目出现感叹号
最近一个maven 项目,从SVn 拉下来后,作为maven 项目导入,项目根目录执行 mvn clean eclipse:eclipse; 再改jdk出现错误.    感叹号出现了.检查项目bluid path,没有发现红叉叉. 再maven update    无数次clean ,均不起作用. 最后查看marker 和problems里面查看错误日志,在marker里面终于看到了错误
运行maven clean报错解决
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on project cboss-framework: Execution default-clean of goal org.apache.maven.plugins:maven-clean-
Maven中的Plugins或者Dependencies出现报错时的就解决办法
解决办法: 1、前往C盘将.m2文件夹中的内容全部删除,然后重新更新Maven即可
maven 项目导入错误
svn check out 下来项目之后,出现以下错误:rnDescription Resource Path Location TypernArtifactDescriptorException: Failed to read artifact descriptor for commons-dbcp:commons-dbcp:jar:1.2.1: ArtifactResolutionException: Failure to transfer commons-dbcp:commons-dbcp:pom:1.2.1 from http://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced. Original error: Could not transfer artifact commons-dbcp:commons-dbcp:pom:1.2.1 from/to jboss (http://repository.jboss.org/nexus/content/groups/public/): repository.jboss.org pom.xml /service line 1 Maven Dependency ProblemrnArtifactDescriptorException: Failed to read artifact descriptor for commons-httpclient:commons-httpclient:jar:3.1: ArtifactResolutionException: Failure to transfer commons-httpclient:commons-httpclient:pom:3.1 from http://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced. Original error: Could not transfer artifact commons-httpclient:commons-httpclient:pom:3.1 from/to jboss (http://repository.jboss.org/nexus/content/groups/public/): repository.jboss.org pom.xml /service line 1 Maven Dependency ProblemrnArtifactDescriptorException: Failed to read artifact descriptor for javax.servlet:servlet-api:jar:2.5: ArtifactResolutionException: Failure to transfer javax.servlet:servlet-api:pom:2.5 from http://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced. Original error: Could not transfer artifact javax.servlet:servlet-api:pom:2.5 from/to jboss (http://repository.jboss.org/nexus/content/groups/public/): repository.jboss.org pom.xml /service line 1 Maven Dependency ProblemrnArtifactDescriptorException: Failed to read artifact descriptor for javax.transaction:jta:jar:1.1: ArtifactResolutionException: Failure to transfer javax.transaction:jta:pom:1.1 from http://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced. Original error: Could not transfer artifact javax.transaction:jta:pom:1.1 from/to jboss (http://repository.jboss.org/nexus/content/groups/public/): repository.jboss.org pom.xml /service line 1 Maven Dependency ProblemrnArtifactDescriptorException: Failed to read artifact descriptor for junit:junit:jar:4.7: ArtifactResolutionException: Failure to transfer junit:junit:pom:4.7 from http://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced. Original error: Could not transfer artifact junit:junit:pom:4.7 from/to jboss (http://repository.jboss.org/nexus/content/groups/public/): repository.jboss.org pom.xml /service line 1 Maven Dependency ProblemrnArtifactDescriptorException: Failed to read artifact descriptor for mysql:mysql-connector-java:jar:5.1.6: ArtifactResolutionException: Failure to transfer mysql:mysql-connector-java:pom:5.1.6 from http://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced. Original error: Could not transfer artifact mysql:mysql-connector-java:pom:5.1.6 from/to jboss (http://repository.jboss.org/nexus/content/groups/public/): repository.jboss.org pom.xml /service line 1 Maven Dependency ProblemrnArtifactDescriptorException: Failed to read artifact descriptor for org.apache.ibatis:ibatis-core:jar:3.0: ArtifactResolutionException: Failure to transfer org.apache.ibatis:ibatis-core:pom:3.0 from http://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.ibatis:ibatis-core:pom:3.0 from/to jboss (http://repository.jboss.org/nexus/content/groups/public/): repository.jboss.org pom.xml /service line 1 Maven Dependency ProblemrnArtifactDescriptorException: Failed to read artifact descriptor for org.apache.ibatis:ibatis-sqlmap:jar:2.3.0: ArtifactResolutionException: Failure to transfer org.apache.ibatis:ibatis-sqlmap:pom:2.3.0 from http://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.ibatis:ibatis-sqlmap:pom:2.3.0 from/to jboss (http://repository.jboss.org/nexus/content/groups/public/): repository.jboss.org pom.xml /service line 1 Maven Dependency ProblemrnMissing artifact com.sun.xml.fastinfoset:FastInfoset:jar:1.2.12 pom.xml /service line 1 Maven Dependency ProblemrnMissing artifact commons-logging:commons-logging:jar:1.1 pom.xml /service line 1 Maven Dependency ProblemrnMissing artifact dom4j:dom4j:jar:1.6.1 pom.xml /service line 1 Maven Dependency ProblemrnMissing artifact javax.activation:activation:jar:1.1 pom.xml /service line 1 Maven Dependency ProblemrnMissing artifact javax.jms:jms:jar:1.1 pom.xml /service line 1 Maven Dependency ProblemrnMissing artifact javax.mail:mail:jar:1.5.0-b01 pom.xml /service line 1 Maven Dependency ProblemrnMissing artifact javax.servlet:servlet-api:jar:2.3 pom.xml /service line 1 Maven Dependency ProblemrnMissing artifact javax.xml.bind:jaxb-api:jar:2.2.7 pom.xml /service line 1 Maven Dependency Problemrn请问该怎么解决?
maven工程出现的错误
1. 出现的错误如下: Missing artifact com.github.pagehelper:pagehelper:jar:3.4.2-fix 解决:在父工程中已经确定jar的version,但是jar下载不下来,可能存在两种情况 ① 该jar包非免费,需要付费,所以下载不下来 ②网络原因,连接不到国外的服务器 在taotao-parent的pom.xml文件中修改: ...
maven 打包出现的错误
maven 这东西虽好,但每次用的时候总出现乱七八糟的的问题,今天在eclipse 。package 的时候   出现了 maven: 软件包 org.apache.log4j 不存在的错误 org.slf4j slf4j-api 修改为 org.slf4j jcl-over-slf4j ${org.slf4j.version} runtime
idea的Maven Project窗口没有项目出现
idea的Maven Project窗口没有项目出现?   解决方法: 1.确保你的项目是maven项目,主要是pom.xml配置是否正确 2:http://www.yayihouse.com/yayishuwu/chapter/1368
导入Maven Project出现各种Maven错误
最近接触的新的project都是Maven project,由于之前没有使用过Maven,发现导入的工程每个都有错误,折腾了好久都没能完全解决,不过现在已经解决了部分,总结一下最常见的错误: 1.build failure 可以通过环境配置解决,首先确保已经在Window-Preferences-Maven中添加了Maven路径和settings.xml路径,其次,在settings.xml中...
搭建Maven以及在eclipse运行maven命令时出现的错误
1. Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test): maven打包项目的时候一直报这个异常 解决办法: 这是因为测试代码时遇到错误,它会停止编译。只需要在pom.xml的里添加以下配置,使得测试出错不影响项目的编译。<build>
解决Maven打包时出现Maven无法下载插件的错误
发生错误原因: (官方解释: This error occurs when you employ a plugin that Maven could not download. Possible causes for this error are: You are referring to a non-existing plugin, e.g. by means of a typo
maven clean后install产生的错误
今天想写一点东西。 因为用maven的时候老是clean后install会报错,所以看了很多资料,得到了一些自己的见解。 首先,maven的clean是删除target文件。在项目真实路径里,target是一直存在的(target文件夹里一直有class文件夹和test-class文件夹),而且删除的只是src里java的字节码文件。 maven的install是打包,把项目发布到本地仓库。...
maven运行项目出现编译环境的错误
用eclipse运行maven项目时出现No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 错误,其实出现这个错误的原因很简单,就是在eclipse中设置运行环境时指定为jre。解决办法如下: 这个原因的出现是因为我们在eclipse中配置java运行
Eclispse 中maven 项目目录出现错误
1.选中项目看属性:看maven --->Project Facets 把 Dynamic Web Moudel 改为i2.5以上 把 java的版本改为1.7以上 刷新项目 2.项目 properties -->Java Buiild Path 把System Libaray-->edit改为Workspace default JRE 这样项目目录就对了。
maven时出现的小问题~~~
为什么当我maven的时候正确,但提交后的内容没有将jsp提交过来,只是单纯的把类编译提交过来了呢????rn哪位大虾帮我解决下这个问题....
android clean时出现错误
n项目没有问题,项目用过引用过了4个库, 求解???nnnErrors occurred during the build.nErrors running builder 'Android Package Builder' on project 'android-support-v7-appcompat'.nProblems encountered while deleting resources.nCould not delete 'D:\workspace\android-support-v7-appcompat\bin\android-support-v7-appcompat.jar'.nProblems encountered while deleting files.nCould not delete: D:\workspace\android-support-v7-appcompat\bin\android-support-v7-appcompat.jar.nProblems encountered while deleting resources.nCould not delete 'D:\workspace\android-support-v7-appcompat\bin\android-support-v7-appcompat.jar'.nProblems encountered while deleting files.nCould not delete: D:\workspace\android-support-v7-appcompat\bin\android-support-v7-appcompat.jar.nErrors running builder 'Android Package Builder' on project 'cardview'.nProblems encountered while deleting resources.nCould not delete 'D:\workspace\cardview\bin\cardview.jar'.nProblems encountered while deleting files.nCould not delete: D:\workspace\cardview\bin\cardview.jar.nProblems encountered while deleting resources.nCould not delete 'D:\workspace\cardview\bin\cardview.jar'.nProblems encountered while deleting files.nCould not delete: D:\workspace\cardview\bin\cardview.jar.nErrors running builder 'Android Package Builder' on project 'design'.nProblems encountered while deleting resources.nCould not delete 'D:\novabd\design\bin\design.jar'.nProblems encountered while deleting files.nCould not delete: D:\novabd\design\bin\design.jar.nProblems encountered while deleting resources.nCould not delete 'D:\novabd\design\bin\design.jar'.nProblems encountered while deleting files.nCould not delete: D:\novabd\design\bin\design.jar.nErrors running builder 'Android Package Builder' on project 'percent'.nProblems encountered while deleting resources.nCould not delete 'D:\novabd\percent\bin\percent.jar'.nProblems encountered while deleting files.nCould not delete: D:\novabd\percent\bin\percent.jar.nProblems encountered while deleting resources.nCould not delete 'D:\novabd\percent\bin\percent.jar'.nProblems encountered while deleting files.nCould not delete: D:\novabd\percent\bin\percent.jar.
maven更新运行项目时出现
Caused by: java.lang.ClassNotFoundException: com.hywa.org.mysecurity.manager.DefaultUserDetailsService
又出现错误了?????
请大家帮我分析一下??? 下面是错误》。rn。Microsoft VBScript 编译器错误 错误 '800a03ee' rnrn缺少 ')' rnrn/jyk1/dbdj/conn.asp, 行3 rnrnconnstr="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("" database/1.mdb"")rn----------------------------------------------------------------------------^rnrn我的CONN.ASP是:rn<%rn set conn=server.createobject("ADODB.connection") rn connstr="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("" database/1.mdb"")rn conn.open connstrrn%>rnrnrn
出现错误了!!
试图删除行2时发生问题rn错误源:.net sqlclient data providerrn错误信息:在将varchar值‘人事部’转换成数据类型int时失败rnrncreate trigger count_人数rnon positionrnfor insert,update,deleternasrnupdate department set 人数=(select count(*) from position where 部门名='人事部')rnwhere 部门号=01rnrn没有( where 部门号=01 )就能成功删除rnrn这是什么原因?
使用Maven搭建项目时错误
不怕错误多,就怕不积累 1. 错误:读取 /home/subaochen/.m2/repository/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar 时出错;invalid LOC header (bad signature)     解决:原因由于maven的使用个别jar包摔坏,所以删除相关的jar包,然后等maven重新下载相关jar包即
编译没有错误,linking就提示错误了.
Linking...rnmain.obj : error LNK2001: unresolved external symbol "public: void __thiscall Area::show_value(void)" (?show_value@Area@@QAEXXZ)rnmain.obj : error LNK2001: unresolved external symbol "public: void __thiscall Area::count_area(void)" (?count_area@Area@@QAEXXZ)rnmain.obj : error LNK2001: unresolved external symbol "public: void __thiscall Area::set_value(void)" (?set_value@Area@@QAEXXZ)rnDebug/main.exe : fatal error LNK1120: 3 unresolved externalsrnrnrn还请指点!
IIS+PHP4出现错误了…
错误提示是这样的: rn rnSecurity Alert! The PHP CGI cannot be accessed directly. rnThis PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive. rn rnFor more information as to why this behaviour exists, see the manual page for CGI security. rn rnFor more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.
安装时出现的一些错误--------【Maven】
问题1:[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 解决方案1:把项目依赖的jre改成jdk就能解决问题 解决方案2: 参考博文:近日有同事遇到在编译Maven项目时出现 问题二:web.xml is missin...
maven 打包 时出现非法字符: /65279错误
maven 打包 时出现非法字符: /65279错误在用命令对项目进行打包操作时(clean package),报出在某文件的第一行第一个字符出现非法字符问题。 尝试了一种方式:将该文件另存为,选择编码方式改为UTF-8无BOM。随后打包 但是问题依然存在 尝试另一种方式:选中出现非法字符的文件,右键属性–>编码方式改为ISO-8859-1,会发现文件中的确有乱码,将乱码删除。随后 右键属性–>
在使用eclpise创建maven时出现了错误
在创建根据https://blog.csdn.net/qjyong/article/details/9098213这位博主的指导,创建maven项目时出现了Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:1.1这个错误。 我尝试了http://blog.c...
maven打包时出现out of memory 错误
maven package打包时出现如上错误,解决办法,是在maven的bin下的mvn.bat下加入 set MAVEN_OPTS后面加入这一行 set MAVEN_OPTS=-Xmx512m -Xms128m
Mac安装配置maven时,出现JAVA_HOME错误
Mac安装配置maven时,出现JAVA_HOME错误 1.错误信息如下: 2.对于Windows系统下解决方案https://blog.csdn.net/frankarmstrong/article/details/69945774,在Mac OS下并不奏效 3.在Mac OS下配置文件 .bash_profile,令JAVA_HOME=$(/usr/libexec/java_home) ...
VS2005出现错误了
最近不知咋的~~VS2005老是出现同一个错误~~rnrn所谓的错误报告如下:rn[b]下载 Visual Studio 2005 最新的 Service Packrnrn此问题是由 Microsoft Visual Studio 2005 引起的。Microsoft Visual Studio 2005 是由 Microsoft Corporation开发的。rnrn建议rnrnMicrosoft Visual Studio 2005 有 Service Pack 可用。这一累积性更新解决了客户向我们报告的许多问题,它可能解决此问题。rnrn联机访问 Microsoft Corporation 网站,并下载 Microsoft Visual Studio 2005 最新的 Service Pack:[/b]rnrn在Microsoft网站里下载了该软件~~结果:不行rn试过重新安装~~结果:不是不行~~rn请问一下各位~~现在该咋办~~rn谢了~~rn
【eclipse】安装maven时出现的错误
我的eclipse版本是 Eclipse Java EE IDE for Web Developers. Version: Indigo Service Release 2 Build id: 20120216-1857 (c) Copyright Eclipse contributors and others 2005, 2012.  All rights reserve
安装MAVEN时出现如下的错误
[img=https://img-bbs.csdn.net/upload/201601/11/1452489752_968938.png][/img]rnrn我是是Eclipse市场里搜索Maven安装的,安装时出现这个错误。rn在系统里已经装有maven-3.3.9,并且配置也好了。rnrn
使用maven tomcat7插件启动项目时出现错误java.lang.LinkageError
HTTP Status 500 - java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the
给Eclipse添加maven功能时出现的错误
An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Multiple problem...
在运行UTLXPLAN 时出现错误了。
ERROR 位于第 1 行:rnORA-00600: 内部错误代码,参数: [kpotcpop1], [], [], [], [], [], [], []
在引用第三方控件时出现错误了...
[color=#FF0000]说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。 rnrn分析器错误消息: 发现不明确的匹配。rnrn源错误: rnrnrn行 1: <%@ Register TagPrefix="cc1" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>rn行 2: <%@ Page language="c#" Codebehind="InfoEdit.aspx.cs" AutoEventWireup="false" Inherits="WebUI.admin.Info.InfoEdit" %>rn行 3: rn rnrn源文件: /admin/Info/InfoEdit.aspx 行: 1 [/color]rnrnrn这个错误应该是前缀和控件不一样吧?或者是别的什么错误,那位帮忙解决一下,谢了..
eclise自动编译项目依赖的其他项目(maven)
我这里都是maven项目,其他项目应该也是一致的,还没试过。 现在一个项目依赖于其他的项目,在修改了其他项目后,需要执行maven clean install命令以后才可以加载进来新进行的修改,下面的方法介绍一个可以直接重启tomcat服务器就能够重新编译其他项目的方法。   在项目上-&amp;gt;右键-&amp;gt;Properties-&amp;gt;Java Build Path ,结果如图(我已经...
Maven执行clean时候的问题
这是错误信息rn[code=java][INFO] Scanning for projects...rn[INFO] rn[INFO] ------------------------------------------------------------------------rn[INFO] Building beijing-crs 14.12.04rn[INFO] ------------------------------------------------------------------------rn[WARNING] The POM for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more detailsrn[INFO] rn[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ beijing-crs ---rn[WARNING] The POM for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more detailsrn[INFO] ------------------------------------------------------------------------rn[INFO] BUILD FAILURErn[INFO] ------------------------------------------------------------------------rn[INFO] Total time: 0.186srn[INFO] Finished at: Thu Dec 04 15:43:19 CST 2014rn[INFO] Final Memory: 2M/121Mrn[INFO] ------------------------------------------------------------------------rn[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on project beijing-crs: Execution default-clean of goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean failed: A required class was missing while executing org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean: org/codehaus/plexus/util/Osrn[ERROR] -----------------------------------------------------rn[ERROR] realm = plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1rn[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategyrn[ERROR] urls[0] = file:/C:/Users/yu/.m2/repository/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.jarrn[ERROR] urls[1] = file:/C:/Users/yu/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jarrn[ERROR] Number of foreign imports: 1rn[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]rn[ERROR] rn[ERROR] -----------------------------------------------------: org.codehaus.plexus.util.Osrn[ERROR] -> [Help 1]rn[ERROR] rn[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.rn[ERROR] Re-run Maven using the -X switch to enable full debug logging.rn[ERROR] rn[ERROR] For more information about the errors and possible solutions, please read the following articles:rn[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException[/code]rnrn
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数