<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4304140582613158082</id><updated>2026-11-03T23:04:28.109-08:00</updated><category term="cakephp"/><category term="PHP"/><category term="error"/><category term="not"/><category term="wordpress"/><category term="page"/><category term="Javascript"/><category term="Engine"/><category term="Social"/><category term="get"/><category term="Social Engine 4"/><category term="Zend"/><category term="4"/><category term="url"/><category term="magento"/><category term="mysql"/><category term="ubuntu"/><category term="Code"/><category term="Database"/><category term="Element"/><category term="User"/><category term="Using"/><category term="change"/><category term="form"/><category term="js"/><category term="time"/><category term="Class"/><category term="Data"/><category term="Id"/><category term="Module"/><category term="apache"/><category term="file"/><category term="information"/><category term="list"/><category term="name"/><category term="session"/><category term=".Net"/><category term="Type"/><category term="access"/><category term="add"/><category term="ajax"/><category term="cart"/><category term="current"/><category term="custom"/><category term="event"/><category term="fetch"/><category term="found"/><category term="header"/><category term="install"/><category term="installing"/><category term="jQuery"/><category term="post"/><category term="posts"/><category term="request"/><category term="server"/><category term="update"/><category term="upload"/><category term="view"/><category term="working"/><category term=".htaccess"/><category term="2.0"/><category term="ASP .Net"/><category term="Amazon"/><category term="Create"/><category term="Eclipse"/><category term="Explorer"/><category term="Internet"/><category term="Library"/><category term="Link"/><category term="NetBeans"/><category term="Object"/><category term="Symfony"/><category term="Windows"/><category term="a"/><category term="adding"/><category term="button"/><category term="cache"/><category term="check"/><category term="configure"/><category term="controller"/><category term="empty"/><category term="enable"/><category term="ffmpeg"/><category term="field"/><category term="files"/><category term="filter"/><category term="from"/><category term="generate"/><category term="getIdentity"/><category term="getviewer"/><category term="helper"/><category term="home"/><category term="image"/><category term="in"/><category term="language"/><category term="linux"/><category term="manage"/><category term="menu"/><category term="mod_rewrite"/><category term="multiple"/><category term="pear"/><category term="phpunit"/><category term="plugin"/><category term="port"/><category term="query"/><category term="remove"/><category term="select"/><category term="speed"/><category term="string"/><category term="to"/><category term="tomcat"/><category term="3.0"/><category term="Android"/><category term="Angular"/><category term="Chrome"/><category term="Console"/><category term="Conversion"/><category term="Creating"/><category term="DATE_FORMAT"/><category term="Date"/><category term="DateTime"/><category term="Debugging"/><category term="Development"/><category term="External"/><category term="Fatal"/><category term="Infinite"/><category term="Item"/><category term="Items"/><category term="JError"/><category term="Joomla"/><category term="Loop"/><category term="Machine"/><category term="Render"/><category term="S3"/><category term="SDK"/><category term="SE4"/><category term="Set"/><category term="Table"/><category term="Timestamp"/><category term="WPF"/><category term="Widget"/><category term="ZendX"/><category term="admin"/><category term="ajaxhelper"/><category term="all"/><category term="allowed"/><category term="angularjs"/><category term="backend"/><category term="bean"/><category term="bind"/><category term="block"/><category term="browser"/><category term="caching"/><category term="checkout"/><category term="collection"/><category term="connect"/><category term="control"/><category term="convert"/><category term="core"/><category term="count"/><category term="debug"/><category term="denied"/><category term="difference"/><category term="directory"/><category term="disabled"/><category term="display"/><category term="domain"/><category term="each"/><category term="elements"/><category term="email"/><category term="extension"/><category term="facebook"/><category term="failed"/><category term="flv"/><category term="format"/><category term="framework"/><category term="function"/><category term="index"/><category term="issue"/><category term="java"/><category term="jquery-ui"/><category term="jshelper"/><category term="label"/><category term="lamp"/><category term="level"/><category term="load"/><category term="local"/><category term="localhost"/><category term="login"/><category term="lost"/><category term="observefield"/><category term="of"/><category term="on"/><category term="packages"/><category term="pagination"/><category term="panel"/><category term="parameters"/><category term="path"/><category term="properties"/><category term="prototype"/><category term="rewrite"/><category term="rewrite_module"/><category term="route"/><category term="running"/><category term="sequance"/><category term="setting"/><category term="setup"/><category term="shortcut"/><category term="specify"/><category term="storage"/><category term="submit"/><category term="tags"/><category term="theme"/><category term="variable"/><category term="version"/><category term="wamp"/><category term="website"/><category term="widgets"/><category term="xml"/><category term="$post"/><category term="&#39;Debugger&#39;"/><category term=".htacess"/><category term="0"/><category term="1.12"/><category term="1.3"/><category term="1.8.0"/><category term="1002"/><category term="10061"/><category term="11025"/><category term="13.10"/><category term="14.04"/><category term="15.10"/><category term="2.0.0"/><category term="2.0.add"/><category term="2.1"/><category term="2.2"/><category term="2.3"/><category term="2.x"/><category term="22050"/><category term="30"/><category term="3306"/><category term="404"/><category term="41943040"/><category term="44100"/><category term="8080"/><category term="=="/><category term="==="/><category term="ADT"/><category term="AMI"/><category term="APR"/><category term="AS3/Flash.External Interface Available"/><category term="ASUS"/><category term="Abstract"/><category term="Accordion"/><category term="AddOutputFilterByType"/><category term="AddType"/><category term="Ajax.Request"/><category term="AllowOverride"/><category term="Apache2"/><category term="Application"/><category term="Ascending"/><category term="Asp.Net"/><category term="Associate"/><category term="Auth"/><category term="Authorization"/><category term="Authroize"/><category term="Autoloader"/><category term="Autowire"/><category term="C Sharp"/><category term="CTestCase"/><category term="CakeTime"/><category term="Callbacks"/><category term="Catalina"/><category term="Cloud"/><category term="Compare"/><category term="Connection"/><category term="Crone Jobs"/><category term="Curl"/><category term="Customrt"/><category term="DEFLATE"/><category term="Databases"/><category term="Decorator"/><category term="DefaultDispatcherErrorHandler"/><category term="Deploying"/><category term="Developer"/><category term="Different"/><category term="Document"/><category term="Dynmically"/><category term="E00044"/><category term="Editor"/><category term="El Capitan Retail"/><category term="Element.dispatchEvent(event)"/><category term="Enabled"/><category term="Engine4"/><category term="Engine_Api"/><category term="Engine_Db_Table"/><category term="Escaping"/><category term="Excel"/><category term="Exception"/><category term="Export"/><category term="Fatal error: Maximum"/><category term="Finding"/><category term="Flash"/><category term="Forbidden"/><category term="GAC"/><category term="GC.exe"/><category term="Git"/><category term="Guard"/><category term="HTML5"/><category term="IE8"/><category term="IE9"/><category term="Identity"/><category term="Info"/><category term="Inject"/><category term="Interface"/><category term="ItemsSource"/><category term="LTS"/><category term="LoadModule"/><category term="Loader"/><category term="MAVEN2_CLASSPATH_CONTAINER"/><category term="MIME"/><category term="MTP"/><category term="Mage"/><category term="Main.Out.Xml"/><category term="Manager"/><category term="Membership Provider"/><category term="Multiselect"/><category term="Nothing"/><category term="OS X"/><category term="PHP1"/><category term="PREPEND"/><category term="Paypal"/><category term="Php.Mysql"/><category term="Placeholder"/><category term="Recover"/><category term="Refresh"/><category term="Report"/><category term="Repository"/><category term="RequestTimeTooSkewed"/><category term="Reset"/><category term="RewriteRule"/><category term="SM2"/><category term="SVN"/><category term="SWF"/><category term="Same"/><category term="Scope"/><category term="Selenium"/><category term="Seo"/><category term="Shell"/><category term="Simple"/><category term="Some"/><category term="Specified"/><category term="Stop"/><category term="Subversion"/><category term="TCPDF"/><category term="Testing"/><category term="Tools"/><category term="Uncought"/><category term="Unisntall"/><category term="Utility"/><category term="VMware"/><category term="Values"/><category term="ViewHelper"/><category term="Viewer"/><category term="Virtual"/><category term="Workstation"/><category term="Zend_Json_Expr"/><category term="Zenfone"/><category term="a date"/><category term="accept"/><category term="accepts"/><category term="added"/><category term="addition"/><category term="address"/><category term="after"/><category term="ago"/><category term="already"/><category term="anchor"/><category term="annotation"/><category term="another"/><category term="api"/><category term="app"/><category term="appending"/><category term="appkernal"/><category term="applicationContext"/><category term="apply"/><category term="approved"/><category term="array"/><category term="array_filter"/><category term="ask"/><category term="at"/><category term="attribute"/><category term="authenction"/><category term="authorize"/><category term="autocomplete"/><category term="avatar"/><category term="been"/><category term="begin"/><category term="behind"/><category term="best"/><category term="between"/><category term="bind-address"/><category term="boot"/><category term="boots"/><category term="bootstrap"/><category term="browsing"/><category term="bucket"/><category term="buddypress"/><category term="bundle"/><category term="by"/><category term="bypass"/><category term="bytes"/><category term="cake"/><category term="calling"/><category term="can&#39;t"/><category term="cannot"/><category term="categories"/><category term="category"/><category term="centos"/><category term="changed"/><category term="charcter"/><category term="cheating"/><category term="checks"/><category term="choose"/><category term="clean"/><category term="clear"/><category term="clone"/><category term="closing"/><category term="codeIgniter"/><category term="comma"/><category term="command"/><category term="commit"/><category term="complete"/><category term="composer"/><category term="composor"/><category term="compression"/><category term="condition"/><category term="config"/><category term="configuration"/><category term="conflicts"/><category term="could"/><category term="countries"/><category term="crack"/><category term="credientials"/><category term="cross"/><category term="currently"/><category term="customize"/><category term="datamembers"/><category term="datasets"/><category term="datepicker"/><category term="days"/><category term="debian"/><category term="decimal"/><category term="default"/><category term="design"/><category term="detect"/><category term="detected"/><category term="device"/><category term="dir"/><category term="directive"/><category term="dispatch"/><category term="dispatcherServlet"/><category term="does"/><category term="don&#39;t"/><category term="dont"/><category term="double"/><category term="down"/><category term="download"/><category term="dpkg"/><category term="drop"/><category term="dump"/><category term="encoding"/><category term="enctype"/><category term="entries"/><category term="environments"/><category term="equivalant"/><category term="eror"/><category term="escape"/><category term="eval"/><category term="events"/><category term="every"/><category term="example"/><category term="exceeded"/><category term="exception.printing"/><category term="execution"/><category term="exhausted"/><category term="exists.check"/><category term="expression"/><category term="expressions"/><category term="extensions"/><category term="fast site"/><category term="favicon"/><category term="ffmepg"/><category term="ffmpeg-php"/><category term="filesystem"/><category term="find"/><category term="firefox"/><category term="fix"/><category term="fly"/><category term="folder"/><category term="folder structure"/><category term="font"/><category term="footer"/><category term="formdata"/><category term="frameworks"/><category term="fresh"/><category term="front"/><category term="ftp"/><category term="functions.php"/><category term="getAllItems"/><category term="getDbTable"/><category term="getDefaultAdapter"/><category term="getItemsCount"/><category term="getQuote"/><category term="getSingleton"/><category term="get_terms"/><category term="getting"/><category term="grub"/><category term="gzip"/><category term="hack"/><category term="handler"/><category term="handller"/><category term="hasing"/><category term="heading"/><category term="helpful.php"/><category term="hide"/><category term="hide_empty"/><category term="history"/><category term="href"/><category term="htaccerss"/><category term="html"/><category term="iis"/><category term="img"/><category term="import"/><category term="imported"/><category term="index.php"/><category term="individual"/><category term="initialize"/><category term="input"/><category term="insert"/><category term="into"/><category term="invites"/><category term="is"/><category term="j2ee"/><category term="javax"/><category term="jobs"/><category term="jupyter"/><category term="keras"/><category term="key"/><category term="keys"/><category term="large"/><category term="last"/><category term="latest"/><category term="lator"/><category term="layout"/><category term="lazily"/><category term="level_id"/><category term="leverage"/><category term="libmp3lame"/><category term="like"/><category term="line"/><category term="literal"/><category term="locale"/><category term="localize"/><category term="location"/><category term="m2e"/><category term="maintaining"/><category term="mamp"/><category term="manifest"/><category term="manually"/><category term="matche"/><category term="maven"/><category term="mcrypt"/><category term="media"/><category term="memcached"/><category term="memory"/><category term="message"/><category term="metaboxes"/><category term="metafields"/><category term="method"/><category term="migration"/><category term="minified"/><category term="minist"/><category term="models"/><category term="modified"/><category term="months"/><category term="multipart"/><category term="my.ini"/><category term="mysqladmin"/><category term="mysqld"/><category term="native"/><category term="net"/><category term="new"/><category term="not showing"/><category term="notepad"/><category term="notepad++"/><category term="number"/><category term="numeric"/><category term="occurance"/><category term="off"/><category term="once"/><category term="open"/><category term="opencart"/><category term="opening"/><category term="operations"/><category term="operator"/><category term="optimal"/><category term="optimization"/><category term="option group"/><category term="options"/><category term="order"/><category term="org"/><category term="oscommerce"/><category term="output"/><category term="overriding"/><category term="own database"/><category term="pages"/><category term="payments"/><category term="pdf"/><category term="performance"/><category term="permalink"/><category term="permission"/><category term="photo"/><category term="php.ini"/><category term="phpmyadmin"/><category term="please"/><category term="plugins"/><category term="plus"/><category term="post_where"/><category term="postid"/><category term="posting"/><category term="posttype"/><category term="production"/><category term="products"/><category term="prototypejs"/><category term="proxy.no.Session"/><category term="putobject"/><category term="python"/><category term="qscale"/><category term="quarter"/><category term="quarterly"/><category term="random"/><category term="rate"/><category term="read"/><category term="reading"/><category term="redirect"/><category term="redirection"/><category term="reffrrer"/><category term="registerAutoload"/><category term="registration"/><category term="registry"/><category term="regular"/><category term="release"/><category term="reload"/><category term="reloading"/><category term="remoteFunction"/><category term="removed"/><category term="renderWidget"/><category term="required time"/><category term="resolution"/><category term="resolved"/><category term="response"/><category term="result"/><category term="return"/><category term="role"/><category term="rollback"/><category term="row"/><category term="rows"/><category term="rpmts_HdrFromFdno"/><category term="rule"/><category term="rules"/><category term="sample"/><category term="scrap"/><category term="seconds"/><category term="selected"/><category term="send"/><category term="separated"/><category term="server-config.xml"/><category term="servlet"/><category term="shine.com"/><category term="showing"/><category term="shows"/><category term="signature"/><category term="site"/><category term="size"/><category term="skewed"/><category term="sliced"/><category term="solution"/><category term="sort"/><category term="span"/><category term="specific"/><category term="spring"/><category term="status"/><category term="steps"/><category term="store"/><category term="store_language"/><category term="storeview"/><category term="str_to_date"/><category term="success"/><category term="support"/><category term="synchronous"/><category term="tag"/><category term="template"/><category term="terminal"/><category term="text"/><category term="the"/><category term="through"/><category term="till last"/><category term="timezone"/><category term="timthumb"/><category term="too"/><category term="toolber"/><category term="top"/><category term="transaction"/><category term="translation"/><category term="trigger"/><category term="try"/><category term="uh"/><category term="unable"/><category term="unbind"/><category term="updated"/><category term="updating"/><category term="upgrade"/><category term="url_to_postid"/><category term="urls"/><category term="use"/><category term="validates"/><category term="validation"/><category term="validations"/><category term="value"/><category term="vanilla"/><category term="var"/><category term="vary"/><category term="vcpu-0"/><category term="vendor"/><category term="video"/><category term="views"/><category term="virw"/><category term="void"/><category term="walk"/><category term="warning"/><category term="webroot"/><category term="weeks"/><category term="where"/><category term="woff"/><category term="word"/><category term="work"/><category term="wp"/><category term="wpdb"/><category term="wpmode"/><category term="write"/><category term="writing"/><category term="www"/><category term="xampp"/><category term="years"/><category term="youtube"/><title type='text'>IT Feast</title><subtitle type='html'>Let&#39;s Serve the IT Learning Curve</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>189</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-3673659339810359642</id><published>2020-04-19T06:36:00.002-07:00</published><updated>2020-04-19T06:43:02.554-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="collection"/><category scheme="http://www.blogger.com/atom/ns#" term="DefaultDispatcherErrorHandler"/><category scheme="http://www.blogger.com/atom/ns#" term="Exception"/><category scheme="http://www.blogger.com/atom/ns#" term="failed"/><category scheme="http://www.blogger.com/atom/ns#" term="initialize"/><category scheme="http://www.blogger.com/atom/ns#" term="lazily"/><category scheme="http://www.blogger.com/atom/ns#" term="proxy.no.Session"/><category scheme="http://www.blogger.com/atom/ns#" term="role"/><title type='text'>ERROR : DefaultDispatcherErrorHandler Exception occurred during processing request: failed to lazily initialize a collection of role,could not initialize proxy - no Session</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
ERROR : DefaultDispatcherErrorHandler Exception occurred during processing request: failed to lazily initialize a collection of role: com.javaimplant.socialnetwork.model.User.friend, could not initialize proxy - no Session&lt;br /&gt;
&amp;nbsp;org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.javaimplant.socialnetwork.model.User.friend, could not initialize proxy - no Session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I got this error while trying to map a One to Many relation in my Hibernate Entity.&lt;br /&gt;
The issue can be resolved by adding the following fetch property above our Entity Property.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; @OneToMany(fetch = FetchType.EAGER)  
      private Set&amp;lt;User&amp;gt; friend;  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/3673659339810359642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2020/04/error-defaultdispatchererrorhandler.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/3673659339810359642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/3673659339810359642'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2020/04/error-defaultdispatchererrorhandler.html' title='ERROR : DefaultDispatcherErrorHandler Exception occurred during processing request: failed to lazily initialize a collection of role,could not initialize proxy - no Session'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-8848138714510091480</id><published>2020-01-09T03:44:00.001-08:00</published><updated>2020-01-09T03:44:16.914-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Autowire"/><category scheme="http://www.blogger.com/atom/ns#" term="bean"/><category scheme="http://www.blogger.com/atom/ns#" term="Class"/><category scheme="http://www.blogger.com/atom/ns#" term="Different"/><category scheme="http://www.blogger.com/atom/ns#" term="Inject"/><category scheme="http://www.blogger.com/atom/ns#" term="Same"/><category scheme="http://www.blogger.com/atom/ns#" term="Scope"/><title type='text'>Autowire same bean using different Scopes in Class</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Definitions in Application Context&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: 500px; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;      &amp;lt;bean id=&quot;RequestHit&quot; class=&quot;com.springimplant.mvc.HitCounter&quot; scope=&quot;request&quot;&amp;gt;  
           &amp;lt;aop:scoped-proxy/&amp;gt;  
      &amp;lt;/bean&amp;gt;  
      &amp;lt;bean id=&quot;applicationHit&quot; class=&quot;com.springimplant.mvc.HitCounter&quot; scope=&quot;application&quot;&amp;gt;  
           &amp;lt;aop:scoped-proxy/&amp;gt;  
      &amp;lt;/bean&amp;gt;  
      &amp;lt;bean id=&quot;sessionHit&quot; class=&quot;com.springimplant.mvc.HitCounter&quot; scope=&quot;session&quot;&amp;gt;  
           &amp;lt;aop:scoped-proxy/&amp;gt;  
      &amp;lt;/bean&amp;gt;  
      &amp;lt;mvc:interceptors&amp;gt;  
           &amp;lt;mvc:interceptor&amp;gt;  
                &amp;lt;mvc:mapping path=&quot;/project/**&quot;/&amp;gt;  
                &amp;lt;bean class=&quot;com.springimplant.mvc.interceptors.GlobalInterceptor&quot;&amp;gt;&amp;lt;/bean&amp;gt;  
           &amp;lt;/mvc:interceptor&amp;gt;  
      &amp;lt;/mvc:interceptors&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Defination in Class&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; package com.springimplant.mvc.interceptors;  
 import java.util.Date;  
 import javax.annotation.Resource;  
 import javax.servlet.http.HttpServletRequest;  
 import javax.servlet.http.HttpServletResponse;  
 import org.springframework.beans.factory.annotation.Autowired;  
 import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;  
 import com.springimplant.mvc.HitCounter;  
 public class GlobalInterceptor extends HandlerInterceptorAdapter {  
      @Resource   
      private HitCounter RequestHit;  
      @Resource  
      private HitCounter applicationHit;  
      @Resource  
      private HitCounter sessionHit;  
      @Override  
      public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)  
                throws Exception {  
           RequestHit.setHits(RequestHit.getHits()+1);  
           System.out.println(&quot;Request Hits &quot;+RequestHit.getHits());  
           applicationHit.setHits(applicationHit.getHits()+1);  
           System.out.println(&quot;Application Hits &quot;+applicationHit.getHits());  
           sessionHit.setHits(sessionHit.getHits()+1);  
           System.out.println(&quot;Session Hits &quot;+sessionHit.getHits());  
           request.setAttribute(&quot;currentDate&quot;,new Date());  
           return super.preHandle(request, response, handler);  
      }  
 }  
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/8848138714510091480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2020/01/autowire-same-bean-using-different.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/8848138714510091480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/8848138714510091480'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2020/01/autowire-same-bean-using-different.html' title='Autowire same bean using different Scopes in Class'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-2295101962502681443</id><published>2020-01-08T21:48:00.000-08:00</published><updated>2020-01-08T21:48:29.358-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="applicationContext"/><category scheme="http://www.blogger.com/atom/ns#" term="autocomplete"/><category scheme="http://www.blogger.com/atom/ns#" term="bean"/><category scheme="http://www.blogger.com/atom/ns#" term="configuration"/><category scheme="http://www.blogger.com/atom/ns#" term="dispatcherServlet"/><category scheme="http://www.blogger.com/atom/ns#" term="spring"/><category scheme="http://www.blogger.com/atom/ns#" term="xml"/><title type='text'>Autocomplete not working in spring bean configuration file</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px;&quot;&gt;Project Properties &amp;gt; Spring &amp;gt; Bean Support &amp;gt; Config Sets &amp;gt; Add New Group (contains all configuration files). Then open applicationContext.xml again.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/2295101962502681443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2020/01/autocomplete-not-working-in-spring-bean.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/2295101962502681443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/2295101962502681443'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2020/01/autocomplete-not-working-in-spring-bean.html' title='Autocomplete not working in spring bean configuration file'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-680336171440737267</id><published>2019-08-05T10:54:00.000-07:00</published><updated>2019-08-05T10:54:51.501-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="access"/><category scheme="http://www.blogger.com/atom/ns#" term="bind-address"/><category scheme="http://www.blogger.com/atom/ns#" term="Guard"/><category scheme="http://www.blogger.com/atom/ns#" term="my.ini"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="port"/><title type='text'>Guard access to outside world against your MySql Port</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
To Guard access to your Mysql Port from outside world just add following line to your my.ini file&lt;br /&gt;
&lt;br /&gt;
bind-address=127.0.0.1&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/680336171440737267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2019/08/guard-access-to-outside-world-against.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/680336171440737267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/680336171440737267'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2019/08/guard-access-to-outside-world-against.html' title='Guard access to outside world against your MySql Port'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-2962640272892196166</id><published>2019-08-01T08:12:00.003-07:00</published><updated>2019-08-01T08:12:45.914-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="APR"/><category scheme="http://www.blogger.com/atom/ns#" term="environments"/><category scheme="http://www.blogger.com/atom/ns#" term="Library"/><category scheme="http://www.blogger.com/atom/ns#" term="native"/><category scheme="http://www.blogger.com/atom/ns#" term="optimal"/><category scheme="http://www.blogger.com/atom/ns#" term="performance"/><category scheme="http://www.blogger.com/atom/ns#" term="production"/><category scheme="http://www.blogger.com/atom/ns#" term="tomcat"/><title type='text'>The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
The library referred to is bundled into an OS specific dll (tcnative-1.dll) loaded via JNI. It allows tomcat to use OS functionalities not provided in the Java Runtime (such as sendfile, epoll, OpenSSL, system status, etc.). Tomcat will run just fine without it, but for some use cases, it will be faster with the native libraries.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
We can download the&amp;nbsp;&lt;a href=&quot;http://tomcat.apache.org/tomcat-8.5-doc/apr.html#Installation&quot; rel=&quot;noreferrer&quot; style=&quot;border: 0px; box-sizing: inherit; color: #005999; cursor: pointer; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;tcnative-1.dll&lt;/code&gt;&amp;nbsp;(or&amp;nbsp;&lt;code style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;libtcnative.so&lt;/code&gt;&amp;nbsp;for Linux)&lt;/a&gt;&amp;nbsp;and put it in the bin folder, and add a system property to the launch configuration of the tomcat server in eclipse.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/2962640272892196166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2019/08/the-apr-based-apache-tomcat-native.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/2962640272892196166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/2962640272892196166'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2019/08/the-apr-based-apache-tomcat-native.html' title='The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-3883458757635643685</id><published>2019-02-14T21:16:00.001-08:00</published><updated>2019-02-14T21:16:26.949-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Connection"/><category scheme="http://www.blogger.com/atom/ns#" term="datasets"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="file"/><category scheme="http://www.blogger.com/atom/ns#" term="jupyter"/><category scheme="http://www.blogger.com/atom/ns#" term="keras"/><category scheme="http://www.blogger.com/atom/ns#" term="load"/><category scheme="http://www.blogger.com/atom/ns#" term="local"/><category scheme="http://www.blogger.com/atom/ns#" term="minist"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="Reset"/><category scheme="http://www.blogger.com/atom/ns#" term="url"/><title type='text'>Load mnist dataset from a local file in jupyter</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Recently while trying AI coding behind a proxy I was unable to load data from minist dataset from cloud.&lt;br /&gt;
So I manually downloaded the file &quot;mnist.npz&quot; kept it in {username}/.keras/datasets/ on my local machine and used the following command to load it&lt;br /&gt;
&lt;br /&gt;
(X_train,y_train),(X_test,y_test)=mnist.load_data(path=&#39;mnist.npz&#39;);&lt;br /&gt;
&lt;br /&gt;
And this block executed without any errors.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/3883458757635643685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2019/02/load-mnist-dataset-from-local-file-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/3883458757635643685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/3883458757635643685'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2019/02/load-mnist-dataset-from-local-file-in.html' title='Load mnist dataset from a local file in jupyter'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-6314451450111695347</id><published>2019-02-04T09:51:00.000-08:00</published><updated>2019-02-04T09:52:21.557-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="m2e"/><category scheme="http://www.blogger.com/atom/ns#" term="maven"/><category scheme="http://www.blogger.com/atom/ns#" term="MAVEN2_CLASSPATH_CONTAINER"/><category scheme="http://www.blogger.com/atom/ns#" term="org"/><category scheme="http://www.blogger.com/atom/ns#" term="tomcat"/><title type='text'>org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER will not be exported</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
I had the same issue after updating my JDK in project and resolved it by replacing my .classpath file with previous one. I noticed the following changes in my .classpath file&lt;/div&gt;
&lt;pre class=&quot;lang-xml prettyprint prettyprinted&quot; style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;attributes&gt;&lt;/attributes&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;attribute span=&quot;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; box-sizing: inherit; color: #e64320; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; box-sizing: inherit; color: #0f74bd; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;maven.pomderived&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; box-sizing: inherit; color: #e64320; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; box-sizing: inherit; color: #0f74bd; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;true&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;attribute span=&quot;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; box-sizing: inherit; color: #e64320; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; box-sizing: inherit; color: #0f74bd; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;org.eclipse.jst.component.dependency&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; box-sizing: inherit; color: #e64320; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; box-sizing: inherit; color: #0f74bd; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;/WEB-INF/lib&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/attribute&gt;&lt;/span&gt;&lt;/attribute&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
The second line was missing from above code&lt;/div&gt;
&lt;pre class=&quot;lang-xml prettyprint prettyprinted&quot; style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;classpathentry span=&quot;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; box-sizing: inherit; color: #e64320; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;kind&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; box-sizing: inherit; color: #0f74bd; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;con&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; box-sizing: inherit; color: #e64320; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;path&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; box-sizing: inherit; color: #0f74bd; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;org.eclipse.jdt.launching.JRE_CONTAINER&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/classpathentry&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
This line was missing&lt;/div&gt;
&lt;pre class=&quot;lang-xml prettyprint prettyprinted&quot; style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;classpathentry span=&quot;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; box-sizing: inherit; color: #e64320; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;kind&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; box-sizing: inherit; color: #0f74bd; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;con&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; box-sizing: inherit; color: #e64320; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;path&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; box-sizing: inherit; color: #0f74bd; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;attributes&gt;&lt;/attributes&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;attribute span=&quot;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; box-sizing: inherit; color: #e64320; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; box-sizing: inherit; color: #0f74bd; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;owner.project.facets&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; box-sizing: inherit; color: #e64320; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; box-sizing: inherit; color: #0f74bd; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;java&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/attribute&gt;&lt;/span&gt;&lt;/classpathentry&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
These lines were added so I manually removed them and it all worked again.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/6314451450111695347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2019/02/orgeclipsem2emaven2classpathcontainer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/6314451450111695347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/6314451450111695347'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2019/02/orgeclipsem2emaven2classpathcontainer.html' title='org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER will not be exported'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-4536019538158082124</id><published>2018-11-12T20:54:00.001-08:00</published><updated>2018-11-12T20:54:52.188-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cannot"/><category scheme="http://www.blogger.com/atom/ns#" term="import"/><category scheme="http://www.blogger.com/atom/ns#" term="javax"/><category scheme="http://www.blogger.com/atom/ns#" term="resolved"/><category scheme="http://www.blogger.com/atom/ns#" term="servlet"/><title type='text'>The import javax.servlet cannot be resolved</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This issue comes up when you change/upgrade the server currently running the application.&lt;br /&gt;
The fix is in your Java Build Path make sure the server runtime library is compatible with the server you are running your application on.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjAqmX3-E4WJRme24UNLnFBvcsJ0CA09KliqQKgn7aEGCLyKnKkMpYTffbNmvNjkBZg1UQ8KGsTY5kCLy3paovSWHCnG1jzr_Q0oK1qtCYqtFYB_uoVAkBtyj8TdGLkYCLlMlaOqtkOAI/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;555&quot; data-original-width=&quot;720&quot; height=&quot;306&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjAqmX3-E4WJRme24UNLnFBvcsJ0CA09KliqQKgn7aEGCLyKnKkMpYTffbNmvNjkBZg1UQ8KGsTY5kCLy3paovSWHCnG1jzr_Q0oK1qtCYqtFYB_uoVAkBtyj8TdGLkYCLlMlaOqtkOAI/s400/1.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/4536019538158082124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2018/11/the-import-javaxservlet-cannot-be.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/4536019538158082124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/4536019538158082124'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2018/11/the-import-javaxservlet-cannot-be.html' title='The import javax.servlet cannot be resolved'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjAqmX3-E4WJRme24UNLnFBvcsJ0CA09KliqQKgn7aEGCLyKnKkMpYTffbNmvNjkBZg1UQ8KGsTY5kCLy3paovSWHCnG1jzr_Q0oK1qtCYqtFYB_uoVAkBtyj8TdGLkYCLlMlaOqtkOAI/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-7824903241039448281</id><published>2018-06-16T21:27:00.003-07:00</published><updated>2018-06-16T21:27:33.907-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="8080"/><category scheme="http://www.blogger.com/atom/ns#" term="port"/><category scheme="http://www.blogger.com/atom/ns#" term="release"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Release port under use in windows</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
We will release port 8080 here which is being used by windows&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The Error:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOju_cRXoWzglUly7FiSmkhh-t8aUYBiT05oH2Y-NGjNW2ErU2KmbdoyOcPp9sf73kgm9u8YfwdbKBKx4DXUFnkwuI_uQ6JREfRh3FwCYck1FoKAq07Ch2m0dE0dfHeiDS0WBwsGFRJLs/s1600/Capture1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;228&quot; data-original-width=&quot;369&quot; height=&quot;197&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOju_cRXoWzglUly7FiSmkhh-t8aUYBiT05oH2Y-NGjNW2ErU2KmbdoyOcPp9sf73kgm9u8YfwdbKBKx4DXUFnkwuI_uQ6JREfRh3FwCYck1FoKAq07Ch2m0dE0dfHeiDS0WBwsGFRJLs/s320/Capture1.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The Solution:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Let&#39;s first run the following commands in order&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;b&gt;netstat -a -o -n:&lt;/b&gt;&amp;nbsp;This will provide us the process id of the process which is using the port.We find that process 4516 is using our port 8080 and we need to kill it.&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzg_0ma9ptpFJRm-G0NJt1Py0Tj1od8WD9NEaLNIzVW3WgviKi-zJIcEsaqixBir_6F1EdyI98bJlHQIKvwP2RBkFBtdOqZtMfeyt0KuAEbhON4cWipIKSJiw7H2xF677aWXztSiEZ67I/s1600/Capture2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;455&quot; data-original-width=&quot;976&quot; height=&quot;185&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzg_0ma9ptpFJRm-G0NJt1Py0Tj1od8WD9NEaLNIzVW3WgviKi-zJIcEsaqixBir_6F1EdyI98bJlHQIKvwP2RBkFBtdOqZtMfeyt0KuAEbhON4cWipIKSJiw7H2xF677aWXztSiEZ67I/s400/Capture2.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;2. Next run the command&amp;nbsp;&lt;b style=&quot;color: #272727; font-family: Roboto, sans-serif; font-size: 14.4px;&quot;&gt;taskkill /F /PID 4516 : &lt;/b&gt;&lt;span style=&quot;background-color: white; color: #272727; font-family: Roboto, sans-serif; font-size: 14.4px;&quot;&gt;This will kill the process.Make sure you have opened command prompt in administrative mode.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-3CZTF58PZQzKKz3sxFXZngB0L4PaLLCdOyNSWlsnhfFwCC2u91fes81DUGB_2Yp4CQIAQVIelghK1ylbdegERDpzogmGg6W4_SQwGnxbPKLEy4AkGu2bzk2ti2ucQ2tvSJYNkax2IBw/s1600/Capture3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;313&quot; data-original-width=&quot;619&quot; height=&quot;161&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-3CZTF58PZQzKKz3sxFXZngB0L4PaLLCdOyNSWlsnhfFwCC2u91fes81DUGB_2Yp4CQIAQVIelghK1ylbdegERDpzogmGg6W4_SQwGnxbPKLEy4AkGu2bzk2ti2ucQ2tvSJYNkax2IBw/s320/Capture3.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #272727; font-family: Roboto, sans-serif; font-size: 14.4px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/7824903241039448281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2018/06/release-port-under-use-in-windows.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/7824903241039448281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/7824903241039448281'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2018/06/release-port-under-use-in-windows.html' title='Release port under use in windows'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOju_cRXoWzglUly7FiSmkhh-t8aUYBiT05oH2Y-NGjNW2ErU2KmbdoyOcPp9sf73kgm9u8YfwdbKBKx4DXUFnkwuI_uQ6JREfRh3FwCYck1FoKAq07Ch2m0dE0dfHeiDS0WBwsGFRJLs/s72-c/Capture1.PNG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-4249692932468391940</id><published>2017-04-19T11:38:00.000-07:00</published><updated>2017-04-19T11:38:44.120-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="El Capitan Retail"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="Machine"/><category scheme="http://www.blogger.com/atom/ns#" term="OS X"/><category scheme="http://www.blogger.com/atom/ns#" term="vcpu-0"/><category scheme="http://www.blogger.com/atom/ns#" term="Virtual"/><category scheme="http://www.blogger.com/atom/ns#" term="VMware"/><category scheme="http://www.blogger.com/atom/ns#" term="Workstation"/><title type='text'>VMware Workstation unrecoverable error: (vcpu-0)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Trying to run OS X on a Virtual Machine and banging into following error.&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;VMware Workstation unrecoverable error: (vcpu-0)&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;
&lt;b&gt;&lt;i&gt;vcpu-0:VERIFY vmcore/vmm/main/physMem_monitor.c:1180&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;
&lt;b&gt;&lt;i&gt;A log file is available in &quot;E:\temp\os x\vmware.log&quot;. &amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;
&lt;b&gt;&lt;i&gt;You can request support. &amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;
&lt;b&gt;&lt;i&gt;To collect data to submit to VMware support, choose &quot;Collect Support Data&quot; from the Help menu.&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;
&lt;b&gt;&lt;i&gt;You can also run the &quot;vm-support&quot; script in the Workstation folder directly.&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;
&lt;b&gt;&lt;i&gt;We will respond on the basis of your support entitlement.&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;
Just add the following at the end of &amp;nbsp;&lt;span style=&quot;background-color: white; color: #141412; font-family: &amp;quot;Source Sans Pro&amp;quot;, Helvetica, sans-serif; font-size: 14px;&quot;&gt;VMX file(configuration file)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #141412; font-family: &amp;quot;Source Sans Pro&amp;quot;, Helvetica, sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #141412; font-family: &amp;quot;Source Sans Pro&amp;quot;, Helvetica, sans-serif; font-size: 14px;&quot;&gt;smc.version = &quot;0&quot;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/4249692932468391940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2017/04/vmware-workstation-unrecoverable-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/4249692932468391940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/4249692932468391940'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2017/04/vmware-workstation-unrecoverable-error.html' title='VMware Workstation unrecoverable error: (vcpu-0)'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-9058542513665702885</id><published>2016-09-30T08:51:00.000-07:00</published><updated>2016-09-30T08:51:21.101-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Angular"/><category scheme="http://www.blogger.com/atom/ns#" term="angularjs"/><category scheme="http://www.blogger.com/atom/ns#" term="controller"/><category scheme="http://www.blogger.com/atom/ns#" term="files"/><category scheme="http://www.blogger.com/atom/ns#" term="filter"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="js"/><category scheme="http://www.blogger.com/atom/ns#" term="minified"/><category scheme="http://www.blogger.com/atom/ns#" term="version"/><title type='text'>Angular Js- Using minified version of Controller,filter js files </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;strong&gt;&lt;span data-mce-style=&quot;text-decoration: underline;&quot; style=&quot;text-decoration: underline;&quot;&gt;&lt;em&gt;Using minifed version of controller JS Files&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;strong&gt;&lt;span data-mce-style=&quot;text-decoration: underline;&quot; style=&quot;text-decoration: underline;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;span data-mce-style=&quot;text-decoration: underline;&quot;&gt;Here we will use a controller as an example same can be used for Filters&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
One important thing to note when we isolate controller from our HTML file is during its minification.&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
The minification also minifies variable in controller and $scope,$http,$filter may become variables a,b,c which are not recognized by angular see the minified version of above controller.js is as follows&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;span data-mce-style=&quot;text-decoration: underline;&quot; style=&quot;text-decoration: underline;&quot;&gt;&lt;em&gt;controller.js&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span data-mce-style=&quot;text-decoration: underline;&quot; style=&quot;text-decoration: underline;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; angular.module(&#39;myApp&#39;,[]).controller(&#39;myCtrl&#39;,function($scope){  
 $scope.names=[  
 {name:&#39;Gaurav&#39;,country:&#39;India&#39;},  
 {name:&#39;Mike&#39;,country:&#39;USA&#39;},  
 {name:&#39;Steve&#39;,country:&#39;Denmark&#39;}  
 ];  
 });  &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;span data-mce-style=&quot;text-decoration: underline;&quot; style=&quot;text-decoration: underline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span data-mce-style=&quot;text-decoration: underline;&quot; style=&quot;text-decoration: underline;&quot;&gt;controller.min.js&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; angular.module(&quot;myApp&quot;,[]).controller(&quot;myCtrl&quot;,function(n){n.names=[{name:&quot;Gaurav&quot;,country:&quot;India&quot;},{name:&quot;Mike&quot;,country:&quot;USA&quot;},{name:&quot;Steve&quot;,country:&quot;Denmark&quot;}]});  
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
Here $scope becomes n and this will not be recognized by angular js.To over come this problem use code controller code in controller.js as&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;span data-mce-style=&quot;text-decoration: underline;&quot; style=&quot;text-decoration: underline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;span data-mce-style=&quot;text-decoration: underline;&quot; style=&quot;text-decoration: underline;&quot;&gt;controller.js&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; angular.module(&#39;myApp&#39;,[]).controller(&#39;myCtrl&#39;,[&quot;$scope&quot;,myCtrl]);  
 function myCtrl($scope){  
 $scope.names=[  
 {name:&#39;Gaurav&#39;,country:&#39;India&#39;},  
 {name:&#39;Mike&#39;,country:&#39;USA&#39;},  
 {name:&#39;Steve&#39;,country:&#39;Denmark&#39;}  
 ];  
 };  
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
In this we isolate the Controller function but we also tell the module that the first parameter of this function will be &quot;$scope&quot;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
The Minified version of this file is&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;span data-mce-style=&quot;text-decoration: underline;&quot; style=&quot;text-decoration: underline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;span data-mce-style=&quot;text-decoration: underline;&quot; style=&quot;text-decoration: underline;&quot;&gt;controller.min.js&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; function myCtrl(n){n.names=[{name:&quot;Gaurav&quot;,country:&quot;India&quot;},{name:&quot;Mike&quot;,country:&quot;USA&quot;},{name:&quot;Steve&quot;,country:&quot;Denmark&quot;}]}angular.module(&quot;myApp&quot;,[]).controller(&quot;myCtrl&quot;,[&quot;$scope&quot;,myCtrl]);  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Above file also changes the parameter $scope of the function to &quot;n&quot; but when final call is made to function the first parameter is sent as $scope&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/9058542513665702885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2016/09/angular-js-using-minified-version-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/9058542513665702885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/9058542513665702885'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2016/09/angular-js-using-minified-version-of.html' title='Angular Js- Using minified version of Controller,filter js files '/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-62212061790865544</id><published>2016-09-26T00:07:00.000-07:00</published><updated>2016-09-26T00:07:02.912-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2.1"/><category scheme="http://www.blogger.com/atom/ns#" term="2.2"/><category scheme="http://www.blogger.com/atom/ns#" term="2.3"/><category scheme="http://www.blogger.com/atom/ns#" term="2.x"/><category scheme="http://www.blogger.com/atom/ns#" term="cart"/><category scheme="http://www.blogger.com/atom/ns#" term="change"/><category scheme="http://www.blogger.com/atom/ns#" term="folder"/><category scheme="http://www.blogger.com/atom/ns#" term="open"/><category scheme="http://www.blogger.com/atom/ns#" term="opencart"/><category scheme="http://www.blogger.com/atom/ns#" term="theme"/><title type='text'>open cart 2.3 change Theme</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
To change in open cart 2.3&lt;br /&gt;
&lt;br /&gt;
1. Go to Admin=&amp;gt;Extensions(main menu)=&amp;gt;Extensions(sub menu)&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjVNToIzvVAEAXibEBkw5n5QswAtAEQbSE72MlUOgokAOQGPpGSaV7a0kqX7b23d1MdJPGb7WnkWWUz9VSaSTTArSgoS4kV4NU_txcEtuEsvvkKcUaViLc4Oo3A2EYouAsQMVjJzKEiDA/s1600/1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjVNToIzvVAEAXibEBkw5n5QswAtAEQbSE72MlUOgokAOQGPpGSaV7a0kqX7b23d1MdJPGb7WnkWWUz9VSaSTTArSgoS4kV4NU_txcEtuEsvvkKcUaViLc4Oo3A2EYouAsQMVjJzKEiDA/s1600/1.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Select Themes as Extension Type&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK-1BU7NAbv3gYcKtJjMwUITHI4vnCQm6z_UoKpapxck17JIctXA5xMrF78ngnQuOc5IqKIpUiMPnI-RK8WIt6zAxIkJKjr-LC8UzJudCJOMARrEEnCphhCVlawpleCG5GjAr5Y80FkwM/s1600/2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;208&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK-1BU7NAbv3gYcKtJjMwUITHI4vnCQm6z_UoKpapxck17JIctXA5xMrF78ngnQuOc5IqKIpUiMPnI-RK8WIt6zAxIkJKjr-LC8UzJudCJOMARrEEnCphhCVlawpleCG5GjAr5Y80FkwM/s640/2.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
3. Click on Edit Action in Your store(blue button in above image) and select your theme directory&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPv4l2pBgPyXG3HFPEhwwj-4p2-pZZM6QvihMxem4eH4F2HeZ8jY3YqXuDZpvF2bUmjSaUPiQtVSzGr8N-8DCp68nF-q4QOl4_or8_AdK8sQwjq-qqX5f6Njye_JFVnKm8RiXYB10QbuU/s1600/3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPv4l2pBgPyXG3HFPEhwwj-4p2-pZZM6QvihMxem4eH4F2HeZ8jY3YqXuDZpvF2bUmjSaUPiQtVSzGr8N-8DCp68nF-q4QOl4_or8_AdK8sQwjq-qqX5f6Njye_JFVnKm8RiXYB10QbuU/s640/3.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
That&#39;s it&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/62212061790865544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2016/09/open-cart-23-change-theme.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/62212061790865544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/62212061790865544'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2016/09/open-cart-23-change-theme.html' title='open cart 2.3 change Theme'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjVNToIzvVAEAXibEBkw5n5QswAtAEQbSE72MlUOgokAOQGPpGSaV7a0kqX7b23d1MdJPGb7WnkWWUz9VSaSTTArSgoS4kV4NU_txcEtuEsvvkKcUaViLc4Oo3A2EYouAsQMVjJzKEiDA/s72-c/1.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-6601362461324083919</id><published>2016-09-24T12:22:00.000-07:00</published><updated>2016-09-24T12:33:13.763-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="addition"/><category scheme="http://www.blogger.com/atom/ns#" term="Angular"/><category scheme="http://www.blogger.com/atom/ns#" term="angularjs"/><category scheme="http://www.blogger.com/atom/ns#" term="controller"/><category scheme="http://www.blogger.com/atom/ns#" term="custom"/><category scheme="http://www.blogger.com/atom/ns#" term="expression"/><category scheme="http://www.blogger.com/atom/ns#" term="filter"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="js"/><category scheme="http://www.blogger.com/atom/ns#" term="operator"/><title type='text'>Angular Js- Use a filter in expression with javascript addition operator</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Recently in one of my Projects I was stuck up in an issue regarding filters&lt;br /&gt;
&lt;br /&gt;
Here is My Custom Filter&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;       app.filter(&#39;alterCap&#39;,function()   
       {  
         return function(x)   
         {  
           var i, c, txt = &quot;&quot;;  
           for (i = 0; i &amp;lt; x.length; i++) {  
             c = x[i];  
             if (i % 2 == 0) {  
               c = c.toUpperCase();  
             }  
             txt += c;  
           }  
           return txt;  
         };  
       });  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
I am trying to use this filter in my HTML as&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; {{ x.country|alterCap + &quot;:&quot; + x.capital|alterCap }}  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
But this didn&#39;t worked out so I had to use filter in my controller.Here is how I did the same&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; app.controller(&quot;myCtrl&quot;,function($scope,$filter){  
         $scope.capitals = [  
         {country:&#39;India&#39;,capital:&#39;Delhi&#39;},  
         {country:&#39;Sri Lanka&#39;,capital:&#39;Colombo&#39;},  
         {country:&#39;Afganistan&#39;,capital:&#39;Kabul&#39;},  
         {country:&#39;Bhutan&#39;,capital:&#39;Norway&#39;},  
         {country:&#39;Nepal&#39;,capital:&#39;Thimphu&#39;},  
         {country:&#39;Japan&#39;,capital:&#39;Tokyo&#39;},  
         {country:&#39;China&#39;,capital:&#39;Beijing&#39;},  
         {country:&#39;Russia&#39;,capital:&#39;Moscow&#39;},  
         {country:&#39;USA&#39;,capital:&#39;Washington, D.C.&#39;}  
         ];  
         $scope.applyAlterCap = function(movie){  
           return $filter(&#39;alterCap&#39;)(movie);  
         };  
       });  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
And then I used this in my Html as follows&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;p&amp;gt;Using Custom Filter with addition operator inside expression&amp;lt;/p&amp;gt;  
     &amp;lt;ul&amp;gt;  
       &amp;lt;li ng-repeat=&quot;x in capitals | orderBy:&#39;capital&#39;&quot;&amp;gt;  
         {{ applyAlterCap(x.country) + &quot;:&quot; + x.capital }}  
       &amp;lt;/li&amp;gt;  
     &amp;lt;/ul&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/6601362461324083919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2016/09/angular-js-use-filter-in-expression.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/6601362461324083919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/6601362461324083919'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2016/09/angular-js-use-filter-in-expression.html' title='Angular Js- Use a filter in expression with javascript addition operator'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-1773245194900905718</id><published>2016-09-20T21:38:00.000-07:00</published><updated>2016-09-20T21:38:40.378-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="15.10"/><category scheme="http://www.blogger.com/atom/ns#" term="boot"/><category scheme="http://www.blogger.com/atom/ns#" term="boots"/><category scheme="http://www.blogger.com/atom/ns#" term="command"/><category scheme="http://www.blogger.com/atom/ns#" term="dpkg"/><category scheme="http://www.blogger.com/atom/ns#" term="grub"/><category scheme="http://www.blogger.com/atom/ns#" term="line"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="update"/><title type='text'>Ubuntu boots into command line after update</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I recently faced this issue after updating to Ubuntu 15.10 and was looking for solutions until this one worked for me&lt;br /&gt;
&lt;br /&gt;
Enter into recovery mode from grub and run the following&amp;nbsp; command&lt;br /&gt;
&lt;br /&gt;
sudo dpkg --configure -a&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/1773245194900905718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2016/09/ubuntu-boots-into-command-line-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/1773245194900905718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/1773245194900905718'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2016/09/ubuntu-boots-into-command-line-after.html' title='Ubuntu boots into command line after update'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-3803432281778119388</id><published>2016-01-04T22:16:00.000-08:00</published><updated>2016-01-04T22:16:59.787-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="annotation"/><category scheme="http://www.blogger.com/atom/ns#" term="handler"/><category scheme="http://www.blogger.com/atom/ns#" term="imported"/><category scheme="http://www.blogger.com/atom/ns#" term="method"/><category scheme="http://www.blogger.com/atom/ns#" term="not"/><category scheme="http://www.blogger.com/atom/ns#" term="route"/><category scheme="http://www.blogger.com/atom/ns#" term="Symfony"/><category scheme="http://www.blogger.com/atom/ns#" term="template"/><title type='text'>Symfony-Error-Annotation not Imported</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1&gt;
&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;[Semantical Error] The annotation &quot;@Template&quot; in method &lt;/span&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;AppBundle\Controller\DefaultController::indexAction() was never 
imported.&lt;/span&gt; &lt;span style=&quot;font-weight: normal;&quot;&gt;Did you maybe forget to add a &quot;use&quot; statement for this 
annot&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;ation? in /var/www/symfony_learn_2_6/src/AppBundle/Controller/ 
(which is being imported from 
&quot;/v&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;ar/www/symfony_learn_2_6/app/config/routing.yml&quot;).&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h1&gt;
&lt;h1&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Recently while working on symfony I encountered above error.The resolution is simple we just need to add Sensio annotation handler for the above annotation.So in this case since annotation handler for template is missing we need to add&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;i&gt;Sensio\Bundle\FrameworkExtraBundle\Configuration\Template&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;above the controller.Similerly if annotation handler for route is missing then we can add&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;i&gt;Sensio\Bundle\FrameworkExtraBundle\Configuration\Route&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/3803432281778119388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2016/01/symfony-error-annotation-not-imported.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/3803432281778119388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/3803432281778119388'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2016/01/symfony-error-annotation-not-imported.html' title='Symfony-Error-Annotation not Imported'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-6138013540981514901</id><published>2015-12-27T21:34:00.002-08:00</published><updated>2015-12-27T21:35:20.455-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="app"/><category scheme="http://www.blogger.com/atom/ns#" term="appkernal"/><category scheme="http://www.blogger.com/atom/ns#" term="bundle"/><category scheme="http://www.blogger.com/atom/ns#" term="composor"/><category scheme="http://www.blogger.com/atom/ns#" term="Console"/><category scheme="http://www.blogger.com/atom/ns#" term="framework"/><category scheme="http://www.blogger.com/atom/ns#" term="generate"/><category scheme="http://www.blogger.com/atom/ns#" term="not"/><category scheme="http://www.blogger.com/atom/ns#" term="Symfony"/><category scheme="http://www.blogger.com/atom/ns#" term="working"/><title type='text'>Symfony-Generate Bundle Option not working in app/console</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Recently in One of the symfony dumps I gathered from my IT team had an issue due to some reason &quot;Generate Bundle&quot; option was not working from app/console list -- raw&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution :&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Add following lines in File composer.json&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&quot;required-dev&quot;:{&lt;br /&gt;
&quot;sensio/generator-bundle&quot;: &quot;~2.3&quot; &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;File AppKernal.php should have&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;new Sensio\Bundle\GeneratorBundle\SensioGenerator();&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;That&#39;s it &lt;/i&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/6138013540981514901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2015/12/symfony-generate-bundle-option-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/6138013540981514901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/6138013540981514901'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2015/12/symfony-generate-bundle-option-not.html' title='Symfony-Generate Bundle Option not working in app/console'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-7904982966686951881</id><published>2015-07-30T10:18:00.000-07:00</published><updated>2015-07-30T10:18:55.746-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="cakephp"/><category scheme="http://www.blogger.com/atom/ns#" term="not"/><category scheme="http://www.blogger.com/atom/ns#" term="Set"/><category scheme="http://www.blogger.com/atom/ns#" term="validates"/><category scheme="http://www.blogger.com/atom/ns#" term="validations"/><category scheme="http://www.blogger.com/atom/ns#" term="working"/><title type='text'>Cakephp 2.0-Validations not working</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Many a times Our custom Validations do not work in cakephp due to very tiny small errors.Here is a piece of my research and development which might help you&lt;br /&gt;
&amp;nbsp;In the controller&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;       if (!empty($this-&amp;gt;data))   
       {  
         &lt;b&gt;$this-&amp;gt;User-&amp;gt;set($this-&amp;gt;data);  &lt;/b&gt;
         if ($this-&amp;gt;User-&amp;gt;validates())   
         {  
           // it validated logic  
           echo &quot;Yes we can proceed&quot;;  
         }   
         else   
         {  
           // didn&#39;t validate logic  
           $errors = $this-&amp;gt;User-&amp;gt;validationErrors;  
           pr($errors);  
         }  
       }  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
See the line in Bold this must be done to get errors set&lt;br /&gt;
&lt;br /&gt;
In the view&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;   &amp;lt;?php   
       if($this-&amp;gt;Form-&amp;gt;isFieldError(&#39;User.username&#39;))  
       {  
         echo $this-&amp;gt;Form-&amp;gt;error(&#39;User.username&#39;, null, array(&#39;class&#39; =&amp;gt; &#39;message&#39;));   
       }  
       ?&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
Now set the class to taste and you will get error message in view in desired color.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/7904982966686951881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2015/07/cakephp-20-validations-not-working.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/7904982966686951881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/7904982966686951881'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2015/07/cakephp-20-validations-not-working.html' title='Cakephp 2.0-Validations not working'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-8386958309131720921</id><published>2015-07-09T11:08:00.000-07:00</published><updated>2015-07-09T11:08:12.919-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2.0.add"/><category scheme="http://www.blogger.com/atom/ns#" term="cakephp"/><category scheme="http://www.blogger.com/atom/ns#" term="directory"/><category scheme="http://www.blogger.com/atom/ns#" term="favicon"/><category scheme="http://www.blogger.com/atom/ns#" term="img"/><category scheme="http://www.blogger.com/atom/ns#" term="webroot"/><title type='text'>Cakephp 2.0-Adding favicon to your website</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I was able to add a favicon to my website using code mentioned.This one is trusted and working.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; echo $this-&amp;gt;Html-&amp;gt;meta(&#39;favicon.ico&#39;,&#39;img/favicon.ico&#39;,array(&#39;type&#39; =&amp;gt; &#39;icon&#39;));  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
You need to place your favicon.ico file in/webroot/img directory &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/8386958309131720921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2015/07/cakephp-20-adding-favicon-to-your.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/8386958309131720921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/8386958309131720921'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2015/07/cakephp-20-adding-favicon-to-your.html' title='Cakephp 2.0-Adding favicon to your website'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-2602248345960376849</id><published>2015-04-05T11:35:00.002-07:00</published><updated>2015-04-05T11:35:50.934-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="3.0"/><category scheme="http://www.blogger.com/atom/ns#" term="cakephp"/><category scheme="http://www.blogger.com/atom/ns#" term="condition"/><category scheme="http://www.blogger.com/atom/ns#" term="in"/><category scheme="http://www.blogger.com/atom/ns#" term="list"/><category scheme="http://www.blogger.com/atom/ns#" term="where"/><title type='text'>Cakephp 3.0-Where IN Condition with list</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
So here comes Cakephp 3.0 with all new syntax new ORM and many other changes.I find myself struggling with Cakephp this hard since I used cakephp 1.3 for the first time.&lt;br /&gt;
&lt;br /&gt;
But here is My first struggle to help you with&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;  return $this-&amp;gt;find(&#39;list&#39;,[&#39;keyField&#39; =&amp;gt; &#39;id&#39;, &#39;valueField&#39; =&amp;gt; &#39;name&#39;])-&amp;gt;where([  
          &#39;id IN&#39;=&amp;gt;$nearCitys  
       ])-&amp;gt;toArray();  
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/2602248345960376849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2015/04/cakephp-30-where-in-condition-with-list.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/2602248345960376849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/2602248345960376849'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2015/04/cakephp-30-where-in-condition-with-list.html' title='Cakephp 3.0-Where IN Condition with list'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-2159260089614161029</id><published>2015-04-04T10:59:00.001-07:00</published><updated>2015-04-04T11:00:08.187-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="3.0"/><category scheme="http://www.blogger.com/atom/ns#" term="cache"/><category scheme="http://www.blogger.com/atom/ns#" term="cakephp"/><category scheme="http://www.blogger.com/atom/ns#" term="composer"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="from"/><category scheme="http://www.blogger.com/atom/ns#" term="installing"/><title type='text'>Cakephp 3.0-Installing from Composer</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Recently I was trying to install cakephp 3.0 from composer which was throwing some cache errors as such my install was unsuccessfull&lt;br /&gt;
&lt;br /&gt;
Here is what I did to correct the same&lt;br /&gt;
&lt;br /&gt;
When you run composer to install something let us suppose cakephp 3.0 it creates a cache in your home directory.In my case location was&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;/home/gaurav/.composer&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;This location has a cache folder which works for composer installation.This is not writable by default so this should b provided write permissions also Cakephp 3.0 requires&lt;br /&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;mbstring extension&lt;/li&gt;
&lt;li&gt;intl extension&lt;/li&gt;
&lt;/ul&gt;
which must be installed in advanced(google it to get concerned installation repository for your distribution)&lt;br /&gt;
&lt;br /&gt;
After that my Install went smooth.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/2159260089614161029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2015/04/cakephp-30-installing-from-composer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/2159260089614161029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/2159260089614161029'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2015/04/cakephp-30-installing-from-composer.html' title='Cakephp 3.0-Installing from Composer'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-7892722592074384610</id><published>2015-04-04T10:44:00.002-07:00</published><updated>2015-04-05T04:46:26.522-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="access"/><category scheme="http://www.blogger.com/atom/ns#" term="Apache2"/><category scheme="http://www.blogger.com/atom/ns#" term="dir"/><category scheme="http://www.blogger.com/atom/ns#" term="don&#39;t"/><category scheme="http://www.blogger.com/atom/ns#" term="Forbidden"/><category scheme="http://www.blogger.com/atom/ns#" term="permission"/><category scheme="http://www.blogger.com/atom/ns#" term="server"/><category scheme="http://www.blogger.com/atom/ns#" term="var"/><category scheme="http://www.blogger.com/atom/ns#" term="www"/><title type='text'>Apache2-Forbidden You don&#39;t have permission to access /dir/ on this server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Recently on restarting my Apache Server on Ubuntu I came across following error&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Forbidden You don&#39;t have permission to access /dir/ on this server&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
After a bit of google I solved this by granting permissions to my server directory and resetting my httpd.conf directory access levels as follows&lt;br /&gt;
&lt;br /&gt;
Since I am working on Ubuntu I will be using Ubuntu locations your locations can very depending upon your linux distribution&lt;br /&gt;
&lt;br /&gt;
In Ubuntu httpd.conf file is place under&lt;br /&gt;
&lt;b&gt;/etc/apache2/sites-available &lt;/b&gt;directory&lt;br /&gt;
&lt;br /&gt;
if you list directory contents you will find files like&lt;br /&gt;
&lt;br /&gt;
000-default.conf&amp;nbsp;&amp;nbsp; 000-default.old&amp;nbsp;&amp;nbsp; example.com~&lt;br /&gt;
000-default.conf~&amp;nbsp; default-ssl.conf&lt;br /&gt;
&lt;br /&gt;
Out of these first one is the httpd.conf file in concern(this is how Ubuntu stores it)&lt;br /&gt;
&lt;br /&gt;
First make a copy of the same as you can see I have made a copy of the same 000-default.old using following command&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;sudo cp 000-default.conf 000-default.old&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now Alter the 000-default.conf as follows&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;VirtualHost *:80&amp;gt;  
   ServerAdmin webmaster@localhost  
   DocumentRoot /var/www  
   &amp;lt;Directory /&amp;gt;  
     Options FollowSymLinks  
     AllowOverride None  
   &amp;lt;/Directory&amp;gt;  
   &amp;lt;Directory /var/www&amp;gt;  
     Options Indexes FollowSymLinks MultiViews  
     AllowOverride All  
     Order allow,deny  
     allow from all  
   &amp;lt;/Directory&amp;gt;  
   ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/  
   &amp;lt;Directory &quot;/usr/lib/cgi-bin&quot;&amp;gt;  
     AllowOverride None  
     Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch  
     Order allow,deny  
     Allow from all  
   &amp;lt;/Directory&amp;gt;  
   ErrorLog ${APACHE_LOG_DIR}/error.log  
   # Possible values include: debug, info, notice, warn, error, crit,  
   # alert, emerg.  
   LogLevel warn  
   CustomLog ${APACHE_LOG_DIR}/access.log combined  
 &amp;lt;/VirtualHost&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Next grant permissions to your directory as&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;&lt;code&gt;sudo chown -R $USER:$USER /var/www
sudo chmod -R g+rw /var/www&lt;/code&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;b&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;b&gt;&lt;code&gt;You will now be able to access your localhost directory &lt;/code&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;b&gt;&lt;code&gt;&lt;/code&gt;&lt;/b&gt;&lt;code&gt;&lt;/code&gt;&lt;b&gt;&lt;code&gt; &lt;/code&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/7892722592074384610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2015/04/apache2-forbidden-you-dont-have.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/7892722592074384610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/7892722592074384610'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2015/04/apache2-forbidden-you-dont-have.html' title='Apache2-Forbidden You don&#39;t have permission to access /dir/ on this server'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-8038689778853205950</id><published>2015-03-25T11:46:00.000-07:00</published><updated>2015-03-25T11:46:37.262-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="Catalina"/><category scheme="http://www.blogger.com/atom/ns#" term="configure"/><category scheme="http://www.blogger.com/atom/ns#" term="could"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="External"/><category scheme="http://www.blogger.com/atom/ns#" term="home"/><category scheme="http://www.blogger.com/atom/ns#" term="j2ee"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="location"/><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans"/><category scheme="http://www.blogger.com/atom/ns#" term="not"/><category scheme="http://www.blogger.com/atom/ns#" term="read"/><category scheme="http://www.blogger.com/atom/ns#" term="server"/><category scheme="http://www.blogger.com/atom/ns#" term="server-config.xml"/><category scheme="http://www.blogger.com/atom/ns#" term="specify"/><category scheme="http://www.blogger.com/atom/ns#" term="tomcat"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Configuring External Apache Tomcat in Netbeans/Ubuntu or error : specify the server location (Catalina Home)) and error : could not read server-config.xml</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi This posts counters the problem of configuration of external Apache Tomcat Server to Ubuntu..&lt;br /&gt;
&lt;br /&gt;
It also deals with the errors&lt;br /&gt;
1. specify the server location (Catalina Home))&lt;br /&gt;
2. could not read server-config.xml &lt;br /&gt;
&lt;br /&gt;
To Counter all this we need to do as follows&lt;br /&gt;
&lt;br /&gt;
For First Problem create and link directories as follows.This will only occur if Netbeans thinks if you are using and older version of Tomcat Server.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;cd /usr/share/tomcat7
sudo mkdir common
cd common
sudo ln -s ../lib lib&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
For Second Problem create and link directories as follows&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;cd /usr/share/tomcat7
sudo mkdir conf 
cd conf
sudo ln -s /etc/tomcat7/server.xml server.xml
sudo chmod o+rx /usr/share/tomcat7/conf&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;Thats it give a username and Password and Apache server is configured on your Netbeans  &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/8038689778853205950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2015/03/configuring-external-apache-tomcat-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/8038689778853205950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/8038689778853205950'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2015/03/configuring-external-apache-tomcat-in.html' title='Configuring External Apache Tomcat in Netbeans/Ubuntu or error : specify the server location (Catalina Home)) and error : could not read server-config.xml'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-4791724353437355274</id><published>2014-12-13T09:51:00.002-08:00</published><updated>2014-12-13T09:51:57.587-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="41943040"/><category scheme="http://www.blogger.com/atom/ns#" term="allowed"/><category scheme="http://www.blogger.com/atom/ns#" term="bytes"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="exhausted"/><category scheme="http://www.blogger.com/atom/ns#" term="memory"/><category scheme="http://www.blogger.com/atom/ns#" term="size"/><category scheme="http://www.blogger.com/atom/ns#" term="wordpress"/><title type='text'>Wordpress-Error:Allowed memory size of 41943040 bytes exhausted</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This means that the maximum allowed memory of about 40M has been used and needs to be increased.&lt;br /&gt;
As such we write the following command into wp-config.php in order to increase allowed memory.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
In below example we are setting threshold to 64MB &lt;br /&gt;
&lt;br /&gt;
(&#39;WP_MEMORY_LIMIT&#39;, &#39;64M&#39;);&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/4791724353437355274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2014/12/wordpress-errorallowed-memory-size-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/4791724353437355274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/4791724353437355274'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2014/12/wordpress-errorallowed-memory-size-of.html' title='Wordpress-Error:Allowed memory size of 41943040 bytes exhausted'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-1907918727725258919</id><published>2014-12-13T05:57:00.000-08:00</published><updated>2014-12-13T05:57:20.566-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ask"/><category scheme="http://www.blogger.com/atom/ns#" term="bypass"/><category scheme="http://www.blogger.com/atom/ns#" term="credientials"/><category scheme="http://www.blogger.com/atom/ns#" term="dont"/><category scheme="http://www.blogger.com/atom/ns#" term="ftp"/><category scheme="http://www.blogger.com/atom/ns#" term="localhost"/><category scheme="http://www.blogger.com/atom/ns#" term="update"/><category scheme="http://www.blogger.com/atom/ns#" term="wordpress"/><title type='text'>Wordpress-Bypass FTP credientials step for updates(Update on localhost)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;code&gt;If you want to bypass the step where wordpress asks for ftp credentials on update i.e you do not want wordpress to ask for ftp credentials on update specially helpful in updating on localhost&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code&gt;Then in wp-config.php add the following lines to the code&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;define(&#39;FS_METHOD&#39;,&#39;direct&#39;);&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code&gt;That&#39;s it and this will bypass the ask for ftp credientials&lt;/code&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/1907918727725258919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2014/12/wordpress-bypass-ftp-credientials-step.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/1907918727725258919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/1907918727725258919'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2014/12/wordpress-bypass-ftp-credientials-step.html' title='Wordpress-Bypass FTP credientials step for updates(Update on localhost)'/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4304140582613158082.post-3471689862576224521</id><published>2014-11-14T06:29:00.000-08:00</published><updated>2014-11-14T06:29:02.587-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="14.04"/><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="ASUS"/><category scheme="http://www.blogger.com/atom/ns#" term="connect"/><category scheme="http://www.blogger.com/atom/ns#" term="device"/><category scheme="http://www.blogger.com/atom/ns#" term="LTS"/><category scheme="http://www.blogger.com/atom/ns#" term="MTP"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Zenfone"/><title type='text'>Ubuntu-Connect an Android device using MTP in Ubuntu 14.04 LTS </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
After Much of Fiddle I was able to connect my ASUS Zenfhone 5 to my ubuntu via MTP Here is How..&lt;br /&gt;
&lt;br /&gt;
1. First we need to install some MTP Apps so run the following command&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; sudo apt-get install libmtp-common mtp-tools libmtp-dev libmtp-runtime libmtp9  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Then run&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; sudo apt-get dist-upgrade  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
2. Then we&#39;re going to amend the fuse.conf file. FUSE is an application 
that aims to provide a secure method for non privileged users to create 
and mount their own file system implementations.&lt;br /&gt;
&lt;br /&gt;
Run the following command&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; sudo nano /etc/fuse.conf  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
You will get following lines remove # before last line which allows other users to mount their own file systems&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; # /etc/fuse.conf - Configuration file for Filesystem in Userspace (FUSE)  
 # Set the maximum number of FUSE mounts allowed to non-root users.  
 # The default is 1000.  
 #mount_max = 1000  
 # Allow non-root users to specify the allow_other or allow_root mount options.  
 &lt;b&gt;user_allow_other  &lt;/b&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
3. Now connect your device using MTP option and run following command&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; lsusb  
&lt;/code&gt;&lt;/pre&gt;
You will get a list as follows
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; Bus 002 Device 007: ID 413c:8160 Dell Computer Corp. Wireless 365 Bluetooth  
 Bus 002 Device 005: ID 413c:8162 Dell Computer Corp. Integrated Touchpad [Synaptics]  
 Bus 002 Device 004: ID 413c:8161 Dell Computer Corp. Integrated Keyboard  
 Bus 002 Device 003: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)  
 Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub  
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  
 &lt;b&gt;Bus 001 Device 006: ID 0b05:5480 ASUSTek Computer, Inc.   &lt;/b&gt;
 Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub  
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
I find the only device connected to my system of name&amp;nbsp; ASUSTek Computer is my ASUS mobile we need two parts from above line&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;&lt;b&gt;0b05:5480&lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Make a note of these and now we will add these to another rules file&lt;br /&gt;
&lt;br /&gt;
4. Run following command&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;&lt;b&gt;sudo nano /lib/udev/rules.d/69-mtp.rules&lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Now add the following lines to the file see the idProduct and idVendor we have added change it in accordance with your device&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;&lt;b&gt;# ASUSTek Computer, Inc.
ATTR{idVendor}==&quot;0b05&quot;, ATTR{idProduct}==&quot;5480&quot;,&lt;/b&gt; SYMLINK+=&quot;libmtp-%k&quot;, ENV{ID_MTP_DEVICE}=&quot;1&quot;, ENV{ID_MEDIA_PLAYER}=&quot;1&quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
5. Now we need to add this information to another rules file&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;b&gt;sudo nano /etc/udev/rules.d/51-android.rules&lt;/b&gt;&lt;/pre&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 36px;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 36px;&quot;&gt;Now add the following lines to the open file&lt;/pre&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; ATTR{idVendor}==&quot;0b05&quot;, ATTR{idProduct}==&quot;5480&quot;, MODE=”0666&quot;  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Remember to add correct idVendor and idProduct&lt;br /&gt;
&lt;br /&gt;
6. Restart the service&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; sudo service udev restart  &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
7. Reboot Device&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZZO-nzTZyo5b63zZgd7V1aXZHH8CgUSPmv68U2-YNfQyIcRLfhA_6258Mbc1owTTXFMa8gGscTtL2JWB8uVXrRkkrFh-mI3u-0ksfVu5R-6jqb9SPMpF53kllwCFcRhR4EMequ_v_DFr/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &lt;/code&gt;sudo reboot&lt;/pre&gt;
&lt;br /&gt;
That&#39;s It &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itfeast.blogspot.com/feeds/3471689862576224521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itfeast.blogspot.com/2014/11/ubuntu-connect-android-device-using-mtp.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/3471689862576224521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4304140582613158082/posts/default/3471689862576224521'/><link rel='alternate' type='text/html' href='http://itfeast.blogspot.com/2014/11/ubuntu-connect-android-device-using-mtp.html' title='Ubuntu-Connect an Android device using MTP in Ubuntu 14.04 LTS '/><author><name>Gaurav Matta</name><uri>http://www.blogger.com/profile/11796016019287012422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg43oYdKdsLw3XAF3Pvzy2y4EyjxEuYppNhLxiZGfwXLbAMXUmpxXaAsq54iUXdKJ-5qS71M6cXEHlPB01PqRuvltBGGEHWYpRoA_3XfSYXb0Zd5OFn86i3nSpioSb2j80/s220/1086728photo.jpg'/></author><thr:total>4</thr:total></entry></feed>