当我去打开Eclipse时,它已经工作了一个小时,它在启动时冻结并发出错误:"发生错误.请参阅日志文件".请参阅下面的日志文件.
虽然这些信息中的一些出现在日志中,
操作系统:Mac OSX 10.7.5
Eclipse:用于C/C++开发人员的Eclipse IDE 3.8
此外,我尝试使用-clean启动Eclipse可执行文件,以及删除.metadata文件夹中的各种文件.互联网上有很多解决方案,到目前为止还没有.
!SESSION 2012-11-10 22:10:32.651 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.version=1.7.0_09
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product org.eclipse.epp.package.cpp.product -keyring /Users/Puzzel/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.cpp.product -keyring /Users/Puzzel/.eclipse_keyring -showlocation
!ENTRY org.eclipse.core.net 1 0 2012-11-10 22:10:35.937
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
!ENTRY org.eclipse.osgi 4 0 2012-11-10 22:10:36.479
!MESSAGE …Run Code Online (Sandbox Code Playgroud) 所以我一直在和MAMP一起在我的计算机上本地开发一个站点,但是其中一个真正让我烦恼的事情是MAMP没有附带用于PHP的MySQL Natural Driver.所以我不能使用这个可爱的get_result()功能.我甚至尝试用驱动程序手动编译PHP,但很快就火上浇油.如果不可能使用mysqlnd设置MAMP,那么有人可以解释一下最好的方法吗?运行Mac OS X 10.7 Lion.
您可以使用BigInteger.isProbablePrime()生成加密安全素数吗?他们"安全"需要什么确定性?
这是我的代码,我正在尝试做的是使用javascript检查表单,然后通过AJAX将其提交给PHP脚本,该脚本将记录用户.
<!DOCTYPE html>
<html>
<head>
<title>RPEMS: Login</title>
<link rel="stylesheet" type="text/css" href="../main.css"></link>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script type='text/javacript'>
$(function()
{
$('.error').hide();
$('.button').click(function()
{
$('.error').hide();
var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
var email = $('input#email').val();
var pass = $('input#pass').val();
var err = false;
if (!email)
{
$('label#emErr').show();
$('input#email').focus();
err = true;
}
if (!filter.test(email))
{
$('label#emValErr').show();
$('input#email').focus();
err = true;
}
if (!pass)
{
$('label#passErr').show();
$('input#pass').focus();
err = true;
}
if (err) return false;
var dataString = 'email=' + email + '&pass=' + pass;
$.ajax({
type: "POST", …Run Code Online (Sandbox Code Playgroud) biginteger ×1
c ×1
c++ ×1
cryptography ×1
eclipse ×1
eclipse-juno ×1
java ×1
javascript ×1
jquery ×1
mamp ×1
mysqlnd ×1
php ×1
primes ×1