묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
governance council 노드들은 어찌뽑나요?
코인갯수를 통해서 지분양만큼 순위권안에 들어가게뽑는지요?
-
해결됨리눅스 IPC 프로그래밍 - 이론과 실습
Makefile에 대한 질문입니다
선생님 Makefile을 유용하게 쓰고 있는데, 선생님은 Makefile에서 어떤 옵션이 같은 디렉토리 내에서 다수의 main이 존재하는 것인가요? 선생님 Makefile은 헤더파일이 있으면 동작이 안되어서 https://gist.githubusercontent.com/surinoel/f00b345a8b8e91f80ac7b2084c4b4d90/raw/bcbc54c4b7c5d60916ecbdb949a582cd2b05e0cb/Makefile 제가 헤더파일을 링크하는 Makefile을 작성했는데, 선생님 기능(main이 독립적)을 넣고 싶은데 어떻게 할 수 있나요?
-
미해결홍정모의 따라하며 배우는 C++
..
int 뒤에 main()이 와야만 함수가 실행되는건가요?
-
미해결파이썬으로 영화 예매 오픈 알리미 만들기
타이틀 리스트에 for 문
title = soup.select('strong.title') 로 영화 제목들만 가져왔구요. 그걸 이제 title[0].text 로 걸면 앞뒤에 태그 떨어지고 깨끗하게 제목만 남는데 이걸 title이라는 이름의 리스트에 대하여 for문으로 반복해서 앞뒤로 태그 떨어뜨리고 제목만 남기려고 하거든요. result = [] i = 1 for i in title: titles = soup.select('strong.title')[0].text data = (i, titles) i = i + 1 result.append(data) result 하는데 i에서 자꾸 오류가 나네요 ㅠ.ㅠ unsupported operand type(s) for +: 'Tag' and 'int' 라고 오류가 나는데 대체 뭐가 문제인지 모르겠어요..
-
해결됨테스트주도개발(TDD)로 만드는 NodeJS API 서버
HTTP Request 값이 2초가 넘어 갈때의 해결법
Get요청으로 해당 HTTP를 긁어오는 테스트를 하려고 하는데 모카 테스트에서 2초가 넘어갔다는 이유로 계속 실패합니다. 해결방법이 있나요?
-
미해결블록체인 이더리움 부동산 댑(Dapp) 만들기 - 기본편
2개중에 마지막 부분에서 테스팅이 fail되는 문제
이런식으로 했는데 ReferenceError: args is not defined 라고 에러가 뜨네요..
-
미해결React로 NodeBird SNS 만들기
조건문 관련 질문이요!
value={editedName || (me && me.nickname)} input에서 위에 코드의 정확한 해석이 뭔가요?
-
미해결Flutter 초급 - Http통신, 상태관리
안녕하세요. 이준석님 강좌를 보고 Flutter 프로젝트를 진행하고 있습니다.
안녕하세요. 이준석님 강좌를 보고 Flutter 프로젝트를 진행하고 있습니다. 혹시, Hero widget 에 대한 강의는 없나요?
-
미해결나만의 포트폴리오 웹페이지 만들기
.header-area > .navbar에 적용한 css에 대해서
안녕하세요, 강의 잘 보고 있습니다. .header-area > .navbar{ width: calc(100%-120)px; margin: 0 60px; overflow: hidden; } 이 내용에서 굳이 width에 다가 calc를 적용하면서 좌우의 120px을 빼주는 이유가 무엇인지 궁금합니다. margin으로 양옆에 60px씩 주는것 때문에 width가 100%+120px이 되는 것이 문제라면, 차라리 padding을 양옆에 60px을 줘도 좌우 간격은 여백이 생길텐데요. 혹시 이유가 있으신지 해서 질문 올려봅니다.
-
해결됨React로 NodeBird SNS 만들기
server.js를 인식 하지 못합니다.
혹시나 오타로 인해 생긴 문제일까봐 깃에서 코드를 복사해서 그대로 붙여넣기를 했는데요. 파일을 인식하지 못하는 것 같습니다. 왜 이런현상이 발생하는걸까요..? 계속 404 에러가 발생하는데 이유를 알수가 없습니다.
-
미해결스프링 부트 개념과 활용
AccountRepositoryTest에 Account 추가시 에러...
강의 16:37 부터 Account 객체를 추가하여 진행 후 run 하면 에러가 발생합니다. 아래에 내용 추가했어요 원인확인 부탁드립니다 . java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:125) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:108) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) at org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener.prepareTestInstance(SpringBootDependencyInjectionTestExecutionListener.java:43) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:246) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract me.izac.springbootjpa.account.Account me.izac.springbootjpa.account.AccountRepository.findByUsername(java.lang.String)! Unable to locate Attribute with the the given name [username] on this ManagedType [me.izac.springbootjpa.account.Account] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:826) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:742) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:389) at org.springframework.boot.SpringApplication.run(SpringApplication.java:311) at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:119) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:117) ... 25 more Caused by: java.lang.IllegalArgumentException: Failed to create query for method public abstract me.izac.springbootjpa.account.Account me.izac.springbootjpa.account.AccountRepository.findByUsername(java.lang.String)! Unable to locate Attribute with the the given name [username] on this ManagedType [me.izac.springbootjpa.account.Account] at org.springframework.data.jpa.repository.query.PartTreeJpaQuery.<init>(PartTreeJpaQuery.java:84) at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$CreateQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:106) at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$CreateIfNotFoundQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:211) at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$AbstractQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:79) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lookupQuery(RepositoryFactorySupport.java:566) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$mapMethodsToQuery$1(RepositoryFactorySupport.java:559) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Collections$UnmodifiableCollection$1.forEachRemaining(Collections.java:1049) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.mapMethodsToQuery(RepositoryFactorySupport.java:561) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$new$0(RepositoryFactorySupport.java:551) at java.util.Optional.map(Optional.java:215) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.<init>(RepositoryFactorySupport.java:551) at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:324) at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.lambda$afterPropertiesSet$5(RepositoryFactoryBeanSupport.java:297) at org.springframework.data.util.Lazy.getNullable(Lazy.java:211) at org.springframework.data.util.Lazy.get(Lazy.java:94) at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:300) at org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.afterPropertiesSet(JpaRepositoryFactoryBean.java:121) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774) ... 40 more Caused by: java.lang.IllegalArgumentException: Unable to locate Attribute with the the given name [username] on this ManagedType [me.izac.springbootjpa.account.Account] at org.hibernate.metamodel.internal.AbstractManagedType.checkNotNull(AbstractManagedType.java:128) at org.hibernate.metamodel.internal.AbstractManagedType.getAttribute(AbstractManagedType.java:113) at org.springframework.data.jpa.repository.query.QueryUtils.toExpressionRecursively(QueryUtils.java:594) at org.springframework.data.jpa.repository.query.QueryUtils.toExpressionRecursively(QueryUtils.java:578) at org.springframework.data.jpa.repository.query.JpaQueryCreator$PredicateBuilder.getTypedPath(JpaQueryCreator.java:381) at org.springframework.data.jpa.repository.query.JpaQueryCreator$PredicateBuilder.build(JpaQueryCreator.java:304) at org.springframework.data.jpa.repository.query.JpaQueryCreator.toPredicate(JpaQueryCreator.java:209) at org.springframework.data.jpa.repository.query.JpaQueryCreator.create(JpaQueryCreator.java:122) at org.springframework.data.jpa.repository.query.JpaQueryCreator.create(JpaQueryCreator.java:57) at org.springframework.data.repository.query.parser.AbstractQueryCreator.createCriteria(AbstractQueryCreator.java:119) at org.springframework.data.repository.query.parser.AbstractQueryCreator.createQuery(AbstractQueryCreator.java:95) at org.springframework.data.repository.query.parser.AbstractQueryCreator.createQuery(AbstractQueryCreator.java:81) at org.springframework.data.jpa.repository.query.PartTreeJpaQuery$QueryPreparer.<init>(PartTreeJpaQuery.java:147) at org.springframework.data.jpa.repository.query.PartTreeJpaQuery$CountQueryPreparer.<init>(PartTreeJpaQuery.java:270) at org.springframework.data.jpa.repository.query.PartTreeJpaQuery.<init>(PartTreeJpaQuery.java:79) ... 66 more
-
미해결처음시작하는 Google 공식 개발 언어 Kotlin
코틀린을 처음접하는데 왜 에러가 나는지 모르겠습니다
fun main(args : Array<String>){ f3(3 , 2.2) f1()}fun f1(){ println("함수 f1이 실행 되었습니다.")}fun f3(a1 : int = 0, a2 : double = 0.0){ println("a1 : ${a1}") println("a2 : ${a2}")}왜 에러가 나느지 모르겠습니다unsolved int double 여기서 int랑 double이 빨간글씨로 적혀 있습니다.................................
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
제출 관련 에러
안녕하세요 교수님 갑자기 제출이 잘 되다가 안됩니다..ㅠ 아래와 같이 backendAPIError 가 뜨는데....무엇이... 문제일까요?ㅠㅠ ∙ Session token prefix: d11622a875 ∙ In the legacy mode, all cases will run serially! ✘ BackendAPIError: 500 Internal Server Error Internal server error.
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
제출이 되지 않습니다.
첫번째주 과제와 마찬가지로 진행하였습니다. 명령어는 동일하게 bash ./submit.sh [hash key] 이렇게 하였고, ∙ Session token prefix: 501730ba55 ∙ In the legacy mode, all cases will run serially! ✘ BackendAPIError: 500 Internal Server Error Internal server error. 이런 오류가 뜨면서 제대로 제출이 안된듯 합니다.
-
미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
거래 질문드립니다.
안녕하세요. 오너계정과 일반계정이 서로 클레이를 주고받을 수 있게 구현하고 싶은데요 일반계정이 컨트랙계정에 돈을 송금하는건 구현했는데 컨트랙 계정이 오너계정에게 받은 돈을 송금하게 하려면 어떻게 해야하는지 궁금합니다. 솔리디티에서 메소드를 추가해야하나요?
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
13강 CSV 과제 제출
안녕하세요. 13강 CSV 과제 제출할 수 있는 해쉬코드 입력된 Code Assignment 페이지가 강의 목록에 없습니다. 해쉬코드 페이지가 없어서 과제 제출을 못하고 있어요. 일시적인 문제일까요? 감사합니다.
-
미해결Vue.js 시작하기 - Age of Vue.js
vue 관련 질문 드립니다.
안녕하세요 vue를 사용하는 방법에 cdn이랑 vue-cli가 있는데 두 가지의 차이가 프로젝트를 생성하여 개발하는 경우 vue-cli를 쓰고 jsp에서 import해서 쓰는 경우에는 cdn으로 쓰는게 맞는지 궁금하여 질문 드립니다. 또 하나는 axios를 이용한 데이터 전송 및 form 구현 강의에서 이벤트 모디파이어로 설정 시 두번씩 호출되는 현상이 발생하여 문의 드립니다. 왜 이런걸까요?ㅠ (책도 샀고, 거의 다 들었는데도 아직 어렵네요 ㅠㅠ) 추가로 이벤트 기간 내에 수강후기 상세히 남겼는데 당첨이 끝난건지 질문 드립니다. ㅎㅎㅎ 감사합니다 (__)
-
미해결[리뉴얼] 파이썬입문과 크롤링기초 부트캠프 [파이썬, 웹, 데이터 이해 기본까지] (업데이트)
해당 동영상과 관련된 강의/참고/코드 자료 가 보이지 않아요....!!!
며칠 전에 강의 들을때만해도 하단 부분 파란색 다운로드버튼이 있었는데 오늘 강의 듣는데 파란색 참고자료 다운로드 버튼이 보이지가 않습니다...!!!!! 연습문제를 풀기위해 다운로드하려는데 ... 다운버튼이 없어 난감합니다 ㅜㅜ 도와주세요
-
미해결스프링 데이터 JPA
연관관계 질문
안녕하세요 선장님 강의를 완료하고 JPA를 신규 프로젝트에 도입시켜 현재 진행중입니다. 프로젝트중에 개발자간에 의견차이가 있는부분에 대해서 어떻게 생각하는지 백선장님께 여쭤보고자 이렇게 질문남깁니다. 개발자 1,2 : JPA Entity는 DB 테이블의 모든 필드가 존재해서, 해당 엔티티(테이블)을 독립적으로, insert update delete 하고 연관은 추가적인 효율성을 기할 수 잇을 때 사용하는것이라고 생각한다. ( JPA를 사용하는데 엔티티간에 관계를 꼭 사용할 필요는 없다) 개발자 3,4 : JPA를 사용하면 엔티티간에 관계는 반드시 맺어야 객체와 데이터베이스간에 불일치를 해소할수있음으로 ORM의 장점을 취할수있다. (JPA를 사용한다는것은 반드시 엔티티간에 관계가 필요하다) 저같은 경우에는 후자라고 생각하는데요~ 선장님께서는 JPA를 사용하는데 엔티티간에 관계를 맺지않고 개발하는것에 대해서는 어떻게 생각하시나요?
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
과제를 제출하려고 하는데 이런 문구가 뜹니다
∙ Session token prefix: 81cb436267 ∙ In the legacy mode, all cases will run serially! ✘ BackendAPIError: 500 Internal Server Error Internal server error.