Skip to content

Instantly share code, notes, and snippets.

View Isxida's full-sized avatar
🏠
Working from home

Israel Romero Isxida

🏠
Working from home
View GitHub Profile
@Isxida
Isxida / isx-slf4j_log.java
Created January 3, 2013 22:51
Another log from isx-SpringHibernateDemo1
SEVERE: StandardWrapper.Throwable
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.slf4j.impl.Log4jLoggerAdapter.trace(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1403)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBean
@Isxida
Isxida / isx-SpringHibernate_JSFlog1.java
Created January 4, 2013 21:37
Log del springHibernate JSF
Starting Tomcat process...
Starting of Tomcat failed, check whether the /home/isxida/Documents/apache/apache-tomcat-7.0.34/bin/catalina.sh and related scripts are executable.
/home/isxida/Documents/SpringHibernate_JSf/nbproject/build-impl.xml:1062:
Deployment error:
Starting of Tomcat failed, check whether the /home/isxida/Documents/apache/apache-tomcat-7.0.34/bin/catalina.sh and related scripts are executable.
See the server log for details.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:223)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
@Isxida
Isxida / isx-SHJSF log 2 .java
Created January 4, 2013 21:49
Another logs D:
Jan 04, 2013 4:46:10 PM org.springframework.web.servlet.FrameworkServlet initServletBean
SEVERE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'actorBo' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Cannot resolve reference to bean 'bo.ActorBO' while setting bean property 'actorDAO'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'bo.ActorBO' is defined
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowi
@Isxida
Isxida / plantilladenoseque.html
Created January 16, 2013 23:08
Tu plantilla que querias @wolfhack
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Especial K-Pop</title>
<link type="text/css" rel="stylesheet" href="http://www.mega.cl/v2/website/themes/k-pop/rutero.css" />
<link type="text/css" rel="stylesheet" href="http://www.mega.cl/v2/website/themes/k-pop/css/prettyPhoto.css" />
<link type="text/css" rel="stylesheet" href="http://www.mega.cl/v2/website/themes/k-pop/css/galeriaTwitter.css" />
<script language="javascript" type="text/javascript" src="http://www.mega.cl/v2/website/js/common/jquery-1.4.2.min.js"></script>
<script language="javascript" type="text/javascript" src="http://www.mega.cl/v2/website/js/k-pop/k-pop.js"></script>
@Isxida
Isxida / listasimple.html
Created January 25, 2013 20:15
Como hacer una lista :3
<select id="preguntaSecreta">
<option>Pregunta 1 ?</option>
<option>Pregunta 2 ?</option>
<option>Pregunta 3 ?</option>
<option>Pregunta 4 ?</option>
<option>Pregunta 5 ?</option>
</select>
@Isxida
Isxida / cond.rb
Created January 30, 2013 16:07 — forked from anonymous/cond.rb
def comparacion
unless @keatingrogers.eql? "Alicorn" && @M_A_Larson.eql? "Draconiqus"
";)"
end
@Isxida
Isxida / subida_doc.java
Created January 31, 2013 17:23
How to upload a file en cualquier lado! :DDDD
@Override
public void registrarSolicitud(File doc, SolicitudDTO sol) throws Exception {
System.out.println(doc.getAbsoluteFile());
Date dFecha = new Date();
SimpleDateFormat sdf1 = new SimpleDateFormat("dd-MM-yy_HH_mm");
Map<String, Object> session = ActionContext.getContext().getSession();
@Isxida
Isxida / Ralph
Created February 12, 2013 23:38
Wreck it ralph - on gist
class Ralph(object):
@staticmethod
def yell(mantra):
print mantra.upper()
@staticmethod
def wreck(item):
del item
class Vanellope(object):
@staticmethod
@Isxida
Isxida / configRAD.ini
Created March 8, 2013 15:08
Y ahi va mi config ini, no se porque lo pediste!? :V
#
#Tue Mar 05 11:39:43 COT 2013
rad.internal.version=RADO851iFix1-I20121207_0152
security.overrideProperties=true
was.runtime=C\:\\Program Files\\IBM\\SDP_2/runtimes
osgi.launcherPath=C\:\\Program Files\\IBM\\SDP_2
osgi.bundlefile.limit=100
cic.appDataLocation=C\:\\ProgramData\\IBM\\Installation Manager
[email protected]/../p2/
help.URL.default=
@Isxida
Isxida / CU1.test.rb
Created March 27, 2013 14:55
yup...moar tests
require "selenium-webdriver"
require "rspec"
include RSpec::Expectations
describe "SegundoCU" do
before(:each) do
@driver = Selenium::WebDriver.for :firefox
@base_url = "http://localhost:3000/lapiceros"
@accept_next_alert = true