上传jedis .jar文件到Git Repository(Uploading jedis .jar file To Git Repository)
我正在关注一个jedis教程 ,我似乎无法通过引用Jedis来编译java文件。 我继续收到此错误:
error: package redis.clients.jedis does not exist import redis.clients.jedis.Jedis; ^
我从这个链接下载了这个文件 (名为jedis-2.9.0.jar),因为它是当时的最新版本。 当我在基于Redis的应用程序中右键单击“库”并单击“添加JAR /文件夹...”时,我成功添加了文件,jedis在我的Netbeans环境中正常运行。
在Netbeans Library Link中的jedis jar的图片,因为我需要更多的点来嵌入图像
问题 :我无法在命令行中编译任何jedis java文件。 无论我在哪个目录中,错误都会持续存在。我还想在存储库中的某处保存这个.jar文件,这样当我将这个项目提交到git repo时,.jar也会出现。
有什么方法可以打包这个.jar所以它可以和其他文件一起旅行吗? 我很想把它放在以下任何一个地方:
> Projectname >> nbproject >> src >> test >> build.xml >> manifest.mf
I'm following a jedis tutorial, and I can't seem to javac-compile java files with references to Jedis. I keep on getting this error:
error: package redis.clients.jedis does not exist import redis.clients.jedis.Jedis; ^
I downloaded this file (named jedis-2.9.0.jar) from this link because it was the latest version at the time. When I right-clicked 'Libraries' in my Redis-based application and clicked 'Add JAR/Folder...', I successfully added the file and jedis runs normally in my Netbeans Environment.
Picture of jedis jar in Netbeans Library Link because I need more points to embed images
The Problem: I cannot compile any jedis java files in the command line. The error persists no matter what directory I'm in. I also want to save this .jar file somewhere within the repository so that when I commit this project to a git repo, the .jar comes along too.
Is there any way I can pack this .jar so it can travel with the rest of the files? I would love to put it in any of these locations:
> Projectname >> nbproject >> src >> test >> build.xml >> manifest.mf
原文:https://stackoverflow.com/questions/51121472
最满意答案
检查以下内容 - 1.在HTML中,您已声明两次表单名称行,这不是必需的。 2.您应该在配置为邮件服务器的服务器/ PHP配置文件中进行设置。 如果未连接邮件服务器,则无法发送邮件
Check the following things- 1. In your HTML you have declared Name Line of form twice, which is not required. 2. You should have setting in your server/PHP configuration file configured to a mail Server. Without Mail server connected, you can't send mails
相关问答
更多-
联系表单bootstrap php(Contact form bootstrap php)[2022-06-18]
根据您的错误,看起来您的系统中没有安装PHP。 你可以在这里下载PHP: http : //php.net/downloads.php 如果您使用的是Windows操作系统,我建议您安装xampp以方便使用。 你可以在这里下载xampp: https : //www.apachefriends.org/index.html Based on your error, look like you doesn't have PHP installed in your system. You can downloa ...