I am trying to learn spring. So I typed up this project but on running it it gives me this error  Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.springframework.context.support.AbstractApplicationContext.&lt;init&gt;(AbstractApplicationContext.java:145) at org.springframework.context.support.AbstractRefreshableApplicationContext.&lt;init&gt;(AbstractRefreshableApplicationContext.java:84) at org.springframework.context.support.AbstractRefreshableConfigApplicationContext.&lt;init&gt;(AbstractRefreshableConfigApplicationContext.java:59) at org.springframework.context.support.AbstractXmlApplicationContext.&lt;init&gt;(AbstractXmlApplicationContext.java:58) at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:136) at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:83) at maven.spring.trial.App.main(App.java:12) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)  Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 12 more   I have tried many solutions given on SO already, like adding commons-logging, via maven, downloading the jar and adding it to my external Libraries.  This is a screenshot of my tree structure-      My Pom.xml:  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt; &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;  &lt;groupId&gt;com.mkyong.common&lt;/groupId&gt; &lt;artifactId&gt;SpringExamples&lt;/artifactId&gt; &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt; &lt;packaging&gt;jar&lt;/packaging&gt;  &lt;name&gt;SpringExamples&lt;/name&gt; &lt;url&gt;http://maven.apache.org&lt;/url&gt;  &lt;properties&gt;     &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt; &lt;/properties&gt;  &lt;dependencies&gt;     &lt;dependency&gt;         &lt;groupId&gt;junit&lt;/groupId&gt;         &lt;artifactId&gt;junit&lt;/artifactId&gt;         &lt;version&gt;3.8.1&lt;/version&gt;         &lt;scope&gt;test&lt;/scope&gt;     &lt;/dependency&gt;      &lt;dependency&gt;         &lt;groupId&gt;org.projectlombok&lt;/groupId&gt;         &lt;artifactId&gt;lombok&lt;/artifactId&gt;         &lt;version&gt;1.16.10&lt;/version&gt;         &lt;scope&gt;provided&lt;/scope&gt;     &lt;/dependency&gt;      &lt;dependency&gt;         &lt;groupId&gt;commons-logging&lt;/groupId&gt;         &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;         &lt;version&gt;1.2&lt;/version&gt;         &lt;scope&gt;compile&lt;/scope&gt;     &lt;/dependency&gt;      &lt;dependency&gt;         &lt;groupId&gt;org.springframework&lt;/groupId&gt;         &lt;artifactId&gt;spring&lt;/artifactId&gt;         &lt;version&gt;2.5.6&lt;/version&gt;     &lt;/dependency&gt;  &lt;/dependencies&gt;     I am running the project from my App.java  Can someone help me with this?? Thanks in advance.
I am getting a NoClassDefFoundError when I run my Java application.  What is typically the cause of this?
Can I install Android on my non-Android device? Very good linear algebra book. I plan to self-study linear algebra this summer. I am sorta already familiar with vectors, vector spaces and subspaces and I am really interested in everything about matrices (diagonalization, ...), linear maps and their matrix representation and eigenvectors and eigenvalues. I am looking for a book that handles every of the aforementioned topics in details. I also want to build a solid basis of the mathematical way of thinking to get ready to an exciting abstract algebra next semester, so my main aim is to work on proofs for somehow hard problems. I got Lang's "Intro. to Linear Algebra" and it is too easy, superficial.  Can you advise me a good book for all of the above? Please take into consideration that it is for self-study, so that it' gotta work on its own. Thanks. What term describes a non-offensive substitute for a swear word?   For example, Battlestar Galactica used frack instead of fuck. Another example is the use of snap instead of shit.  I think I may have heard a single-word term used to describe such alternate non-offensive words before, but I don’t know what it is. Export all symbols when creating a DLL With VS2005, I want to create a DLL and automatically export all symbols without adding __declspec(dllexport) everywhere and without hand-creating .def files. Is threre a way to do this? Making data points different sizes based on data using QGIS? I am trying to plot sales data on a map using QGIS. I will add the disclaimer that I am a rookie at using the program. I added the different sales types by adding delimited text layers (utf16). The data included Longitude, Latitude, and Amount. I want to make the dots on the map scale with the value of the sale. Ive had no luck with trying to use Simple Marker->Data defined properties-> size and writing case functions. Some data points show up at different sizes while others show up at all data points. Here are my functions under different simple markers:   CASE WHEN Amount &lt;= 10000 THEN '.2' END CASE WHEN 10000 &lt; Amount &lt; 75000 THEN '.4' END CASE WHEN 75000 &lt; Amount &lt;= 250000 THEN '.6' END CASE WHEN Amount &gt;= 250000 THEN '1' END   The majority of my data set falls into the 10-75k range. However the .4 and .6 size circles show up at every data point on the map, while the .2 and 1 sizes only show up where the data specifies (along with the .4 and .6 sizes). At this point I am trying to figure out what is wrong with the equations, however I am stuck.   Is there a better way to go about this or am I just simply messing up the equations?   I wish I could share my whole map with you but it is looking great. I went with U/Joseph 's solution and here is an excerpt of the results for those interested. I was asked this question in an interview.  Lets say we have a correlation matrix of the form \begin{bmatrix}1&amp;0.6&amp;0.8\\0.6&amp;1&amp;\gamma\\0.8&amp;\gamma&amp;1\end{bmatrix}  I was asked to find the value of gamma, given this correlation matrix. I thought I could do something with the eigenvalues, since they should be all greater than or equal to 0.(Matrix should be positive semidefinite) - but I don't think this approach will yield the answer. I am missing a trick.  Could you please provide a hint to solve for the same? When should I use "shall" versus "will"? Which is the correct use of these two words, and in which context should one be used rather than the other? 3 questions about Algebraic Geometry and Zariski topology I've read this exercise on my book, but I don't know how to prove it... Can someone help me?  Let X $\subseteq \mathbb{A}^n$ be an algebraic set, and $f, g:X\rightarrow k$ two regular functions.  a) If we see $f$ as an application $X \rightarrow \mathbb{A}^1(k)$, prove that $f$ is continuous in the Zariski topology.  b) If $X$ is irreducible and an open $U \subseteq X$ exists such that $f_{|U} = g_{|U}$, prove that $f=g$.  c) Give an example of $X, f$ and $g$ such that $f \neq g$ but $f_{|U} = g_{|U}$ in an open $U \subseteq X$.  Thank you!  For b) I have been able to prove that:  Let E be the subset where $f = g$ so E is closed (Why? I know that $E = (f,g)^{-1}(\Delta_{k})$ but... why is $(\Delta_{k})$ closed?). So $U \subseteq E \Rightarrow \bar{U} \subseteq \bar{E}=E$ (beacuse E is closed) $\Rightarrow X \subseteq E$, because $\bar{U}=X \Rightarrow E = X$ and $f=g$ in X. JProgressBar in new thread JDialog The MySQL manual at  covers this.  Usually I just dump the database and reimport it with a new name. This is not an option for very big databases. Apparently RENAME {DATABASE | SCHEMA} db_name TO new_db_name; .  This needs to work with , which stores things very differently than . I have a vf page that is a custom button. That's it.  this VF page is on a STD Page Layout. When the user clicks on the VF page, the parent window needs to be redirected to the new URL.  The way this is working, is that the new page is opening in the vf section of the page layout.   &lt;apex:page standardController="Opportunity"  standardStylesheets="true" extensions="OpportunityController" &gt; &lt;base target="_parent" /&gt; &lt;body style="background:#f3f3ec" &gt; &lt;apex:form &gt; &lt;center&gt;  &lt;apex:commandButton action="{!redirect}"  value="Change Record Type" rendered="{!render}"/&gt; &lt;/center&gt;   &lt;/apex:form&gt;    &lt;/body&gt; &lt;/apex:page&gt; How to favorite a question from Android app? How do you make Ubuntu accept files sent over bluetooth Define ≡ in this situation? A uniformly continuous function maps bounded set to bounded sets I am trying to prove the following:  If $A\subset\mathbb R$ is bounded and $\,f:A\to \mathbb R\,$ is uniformly continuous, then $f[A]$ is bounded.  Could you check my proof?  Let $A \subseteq [-K,K]\subseteq \mathbb R$. Let $\varepsilon = 1$. If $f$ is uniformly continuous there is $\delta$ wuth $|x-y| &lt;\delta$ imply that $|f(x)-f(y)|&lt;1$ for all $x,y\in A$. Let $a \in A$. Then because $A$ is bounded there is a finite number of balls $B(a_n,\delta)$ that cover $A$. Let the number be $N$. Then $f(a)-N \le f(x) \le f(a) + N$ for all $x\in A$. I am working on a website for a client, and even though the site ranks extremely well for various different keywords (which is good), if I search for the site's name the homepage does not appear even on the second page on Google. I have to add the .com so it will appear.  But, for big brands like Best Buy, Nike and millions of others it is enough to just search for the brand itself and the first or second suggestion on Google is the brand's homepage.  How can I raise my brand's authority in Google so it will appear in Google on the first page when some searches for it?  I have tried changing the breadcrumbs so instead of "HOME" it is now the brandname, linked to the homepage. I thought that it will help with internal linking if the anchor text is the brand's name instead of the word "HOME".  Any ideas please? Set the default permission when creating a file Is there a way I can share the 3.42 GB download of Windows 8.1 from Windows Store? Windows 8.1 is out, and I would like to know if it is possible to share the Windows 8.1 download upgrade between different computers so that I don't have to download it over and over again?  This might be helpful for people who are on a metered connection. Store is downloading 3.42&nbsp;GB of data so it must be stored somewhere. Is there a way I can copy it to my other computers and start the setup so that I don't have to download it over and over again on each computer I own? From the command line is it possible to open a package installer window (not install the application).  I understand I could run the application using sudo installer -pkg ..... -target ....... Instead i would like to open the package in a similar way to if I double clicked the package within the Finder. Why does Ubuntu not allow the GUI users to login as root at the time of system start up like administrator in Windows?  Why they are restricting us to login only through the terminal?